phantom setup's home-directory helper reads $HOME directly. On Windows $HOME is normally unset.
Location
phantom-cli/src/commands/setup.rs:182-184
Fix
Replace with dirs::home_dir() (already in the dependency tree via phantom-vault). Handles %USERPROFILE% automatically on Windows.
Severity
Polish — may work if the user happens to have $HOME set (e.g., under Git Bash), but unreliable.
Tracker: #1
phantom setup's home-directory helper reads$HOMEdirectly. On Windows$HOMEis normally unset.Location
phantom-cli/src/commands/setup.rs:182-184Fix
Replace with
dirs::home_dir()(already in the dependency tree viaphantom-vault). Handles%USERPROFILE%automatically on Windows.Severity
Polish — may work if the user happens to have
$HOMEset (e.g., under Git Bash), but unreliable.Tracker: #1