memcode docs
Halo

CLI reference

Every halo command, flag and file.

Commands

CommandDescription
halothe interactive shell (a plain prompt when not in a terminal)
halo "request"one request, then exit
halo loginsign in with your Memcode account in the browser
halo logoutsign out (of Halo and the Memcode CLI, which share one sign-in)
halo statusaccount, service connection and plan
halo versionthe installed version
halo upgradeinstall the latest release

In the interactive shell, Shift+Tab switches between Auto, Ask and Allow all.

Flags

FlagDescription
--mode ask|auto|allow-allthe permission mode for this run (default: the last one you chose, else auto); see Safety
--plaina plain line prompt instead of the interactive shell
--unconfinedon 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

VariableDescription
MEMCODE_API_TOKENthe account key, instead of the saved sign-in
HALO_MODEthe permission mode, as --mode
HALO_ACCEPT_TERMSfor 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 optionssee Advanced installation

Files

PathContents
~/.config/memcode/.envthe sign-in shared with the Memcode CLI
~/.config/memcode/halo.jsonHalo preferences (theme, improvement and diagnostics settings, your Terms acceptance)
~/.halo/sessions/conversations, kept on your machine
~/.halo/historyyour recent requests, for ↑ / ↓
~/.halo/authorities.jsonmachine access you chose to always allow

On this page