phantom setup calls Command::new("which") to locate phantom-mcp in PATH. which does not exist on Windows.
Location
phantom-cli/src/commands/setup.rs:166
Fix
Use the which crate, which handles PATH resolution cross-platform and respects Windows's ; separator and PATHEXT.
let mcp_path = which::which("phantom-mcp").ok();
Severity
Blocker — phantom setup fails on Windows.
Tracker: #1
phantom setupcallsCommand::new("which")to locatephantom-mcpinPATH.whichdoes not exist on Windows.Location
phantom-cli/src/commands/setup.rs:166Fix
Use the
whichcrate, which handles PATH resolution cross-platform and respects Windows's;separator andPATHEXT.Severity
Blocker —
phantom setupfails on Windows.Tracker: #1