Halo
CLI reference
Every halo command, flag and file.
Commands
| Command | Description |
|---|---|
halo | the interactive shell (a plain prompt when not in a terminal) |
halo "request" | one request, then exit |
halo login | sign in with your Memcode account in the browser |
halo logout | sign out (of Halo and the Memcode CLI, which share one sign-in) |
halo status | account, service connection and plan |
halo version | the installed version |
halo upgrade | install the latest release |
In the interactive shell, Shift+Tab switches between Auto, Ask and Allow all.
Flags
| Flag | Description |
|---|---|
--mode ask|auto|allow-all | the permission mode for this run (default: the last one you chose, else auto); see Safety |
--plain | a plain line prompt instead of the interactive shell |
--unconfined | on a machine that can't sandbox commands, offer to run them anyway (each run asks, every time) |
--accept-terms=<version> | accept the Terms of Service and acknowledge the Privacy Policy without the first-run prompt (CI, scripts) |
Environment
| Variable | Description |
|---|---|
MEMCODE_API_TOKEN | the account key, instead of the saved sign-in |
HALO_MODE | the permission mode, as --mode |
HALO_ACCEPT_TERMS | for CI, scripts and SDK hosts: the Terms version you reviewed (for example 2026-11-01), accepting the Terms and acknowledging the Privacy Policy without the first-run prompt. Interactive use asks once instead. |
HALO_VERSION and other installer options | see Advanced installation |
Files
| Path | Contents |
|---|---|
~/.config/memcode/.env | the sign-in shared with the Memcode CLI |
~/.config/memcode/halo.json | Halo preferences (theme, improvement and diagnostics settings, your Terms acceptance) |
~/.halo/sessions/ | conversations, kept on your machine |
~/.halo/history | your recent requests, for ↑ / ↓ |
~/.halo/authorities.json | machine access you chose to always allow |