%USERPROFILE%.
An explicit
XDG_CONFIG_HOME replaces the %APPDATA% parent for Blue configuration. An explicit XDG_CACHE_HOME replaces the cache parent. Blue still keeps machine-local runtime state beneath the Local AppData Known Folder.
The PowerShell installer does not change your persistent PATH. Add %LOCALAPPDATA%\Blue\bin to your user PATH, then open a new terminal. Run blue doctor to see the resolved shim directory, its PATH position, and the upstream harness executables Blue detects.
How Blue finds and starts an agent
Blue resolves each agent the waycmd.exe does: it tries the bare name against every PATHEXT extension in turn. An npm global install writes three files — codex, codex.cmd, and codex.ps1 — and only the .cmd is something Windows can execute, so that is the one Blue detects and runs. Blue starts a .cmd wrapper through the command interpreter, the same way npm and node do.
One consequence: an argument the interpreter would act on rather than forward — one containing %, &, |, <, >, ^, (, or ) — is refused instead of being passed through altered. Spaces, quotes, and backslashes are unaffected. Give such an argument inside the agent, or install a native build of it.
Relocate legacy state
Windows releases using the native layout do not read or automatically migrate%USERPROFILE%\.config\blue. If blue setup or blue doctor reports legacy state, close every Blue and coding-agent process before relocating files.
- Move
blue.toml,blue.yaml,session.json,mcp.json, andidentitiesto%APPDATA%\Blue. - Move
runtime,packages,package-state,package-state.json,.blue-transactions,locks,applied-state.json,merge-approvals.json, and session capture directories to%LOCALAPPDATA%\Blue\Data. - Move
governance-config.jsonto%LOCALAPPDATA%\Blue\Cache. - Run
blue doctor, thenblue applyandblue verify.
