Account boundary: fileOverlay — .commandcode/auth.json is profile-local; declared configuration and session paths are shared normal state.
Command Code resolves its home from os.homedir() with no override variable. The adapter redirects HOME/USERPROFILE at a per-profile runtime view where only .commandcode/auth.json belongs to the profile.
npm i -g command-codeProvides the cmd binary (%APPDATA%\npm\cmd.cmd on Windows, $HOME/.npm-global/bin/cmd or /usr/local/bin/cmd elsewhere).
Account-overlay profiles are supported on all platforms:
multi-cli new commandcode/work
multi-cli launch commandcode/work # sign in on first run; auth.json stays profile-local- Mechanism:
fileOverlay—.commandcode/auth.jsonis profile-local;COMMAND_CODE_API_KEYtakes precedence when set. - Declared launch env:
HOME={runtimeRoot},USERPROFILE={runtimeRoot}. - Logout scope: profile.
Shared root: the user home (%USERPROFILE% on Windows, $HOME on macOS/Linux).
- Config:
.commandcode/config.json,.commandcode/settings.json,.commandcode/skills/,.commandcode/plans/,.commandcode/taste/. - Sessions:
.commandcode/projects/,.commandcode/history.jsonl,.commandcode/file-history/.
- Use the
commandcodebinary name; barecmdcollides with Windows cmd.exe.
| Windows | macOS | Linux |
|---|---|---|
supported (file overlay; use commandcode, bare cmd collides with cmd.exe) |
supported | supported |
supported means multi-cli provides account isolation on that OS (mode requirements noted); unsupported means no isolation mode works there.