{ "title": "CLI reference", "content": "This page describes the current CLI behavior. If commands change, update this doc.\n\n* [`setup`](/cli/setup)\n* [`onboard`](/cli/onboard)\n* [`configure`](/cli/configure)\n* [`config`](/cli/config)\n* [`doctor`](/cli/doctor)\n* [`dashboard`](/cli/dashboard)\n* [`reset`](/cli/reset)\n* [`uninstall`](/cli/uninstall)\n* [`update`](/cli/update)\n* [`message`](/cli/message)\n* [`agent`](/cli/agent)\n* [`agents`](/cli/agents)\n* [`acp`](/cli/acp)\n* [`status`](/cli/status)\n* [`health`](/cli/health)\n* [`sessions`](/cli/sessions)\n* [`gateway`](/cli/gateway)\n* [`logs`](/cli/logs)\n* [`system`](/cli/system)\n* [`models`](/cli/models)\n* [`memory`](/cli/memory)\n* [`nodes`](/cli/nodes)\n* [`devices`](/cli/devices)\n* [`node`](/cli/node)\n* [`approvals`](/cli/approvals)\n* [`sandbox`](/cli/sandbox)\n* [`tui`](/cli/tui)\n* [`browser`](/cli/browser)\n* [`cron`](/cli/cron)\n* [`dns`](/cli/dns)\n* [`docs`](/cli/docs)\n* [`hooks`](/cli/hooks)\n* [`webhooks`](/cli/webhooks)\n* [`pairing`](/cli/pairing)\n* [`plugins`](/cli/plugins) (plugin commands)\n* [`channels`](/cli/channels)\n* [`security`](/cli/security)\n* [`skills`](/cli/skills)\n* [`voicecall`](/cli/voicecall) (plugin; if installed)\n\n* `--dev`: isolate state under `~/.openclaw-dev` and shift default ports.\n* `--profile `: isolate state under `~/.openclaw-`.\n* `--no-color`: disable ANSI colors.\n* `--update`: shorthand for `openclaw update` (source installs only).\n* `-V`, `--version`, `-v`: print version and exit.\n\n* ANSI colors and progress indicators only render in TTY sessions.\n* OSC-8 hyperlinks render as clickable links in supported terminals; otherwise we fall back to plain URLs.\n* `--json` (and `--plain` where supported) disables styling for clean output.\n* `--no-color` disables ANSI styling; `NO_COLOR=1` is also respected.\n* Long-running commands show a progress indicator (OSC 9;4 when supported).\n\nOpenClaw uses a lobster palette for CLI output.\n\n* `accent` (#FF5A2D): headings, labels, primary highlights.\n* `accentBright` (#FF7A3D): command names, emphasis.\n* `accentDim` (#D14A22): secondary highlight text.\n* `info` (#FF8A5B): informational values.\n* `success` (#2FBF71): success states.\n* `warn` (#FFB020): warnings, fallbacks, attention.\n* `error` (#E23D2D): errors, failures.\n* `muted` (#8B7F77): de-emphasis, metadata.\n\nPalette source of truth: `src/terminal/palette.ts` (aka “lobster seam”).\n\nNote: plugins can add additional top-level commands (for example `openclaw voicecall`).\n\n* `openclaw security audit` — audit config + local state for common security foot-guns.\n* `openclaw security audit --deep` — best-effort live Gateway probe.\n* `openclaw security audit --fix` — tighten safe defaults and chmod state/config.\n\nManage extensions and their config:\n\n* `openclaw plugins list` — discover plugins (use `--json` for machine output).\n* `openclaw plugins info ` — show details for a plugin.\n* `openclaw plugins install ` — install a plugin (or add a plugin path to `plugins.load.paths`).\n* `openclaw plugins enable ` / `disable ` — toggle `plugins.entries..enabled`.\n* `openclaw plugins doctor` — report plugin load errors.\n\nMost plugin changes require a gateway restart. See [/plugin](/plugin).\n\nVector search over `MEMORY.md` + `memory/*.md`:\n\n* `openclaw memory status` — show index stats.\n* `openclaw memory index` — reindex memory files.\n* `openclaw memory search \"\"` — semantic search over memory.\n\n## Chat slash commands\n\nChat messages support `/...` commands (text and native). See [/tools/slash-commands](/tools/slash-commands).\n\n* `/status` for quick diagnostics.\n* `/config` for persisted config changes.\n* `/debug` for runtime-only config overrides (memory, not disk; requires `commands.debug: true`).\n\n## Setup + onboarding\n\nInitialize config + workspace.\n\n* `--workspace `: agent workspace path (default `~/.openclaw/workspace`).\n* `--wizard`: run the onboarding wizard.\n* `--non-interactive`: run wizard without prompts.\n* `--mode `: wizard mode.\n* `--remote-url `: remote Gateway URL.\n* `--remote-token `: remote Gateway token.\n\nWizard auto-runs when any wizard flags are present (`--non-interactive`, `--mode`, `--remote-url`, `--remote-token`).\n\nInteractive wizard to set up gateway, workspace, and skills.\n\n* `--workspace `\n* `--reset` (reset config + credentials + sessions + workspace before wizard)\n* `--non-interactive`\n* `--mode `\n* `--flow ` (manual is an alias for advanced)\n* `--auth-choice `\n* `--token-provider ` (non-interactive; used with `--auth-choice token`)\n* `--token ` (non-interactive; used with `--auth-choice token`)\n* `--token-profile-id ` (non-interactive; default: `:manual`)\n* `--token-expires-in ` (non-interactive; e.g. `365d`, `12h`)\n* `--anthropic-api-key `\n* `--openai-api-key `\n* `--openrouter-api-key `\n* `--ai-gateway-api-key `\n* `--moonshot-api-key `\n* `--kimi-code-api-key `\n* `--gemini-api-key `\n* `--zai-api-key `\n* `--minimax-api-key `\n* `--opencode-zen-api-key `\n* `--gateway-port `\n* `--gateway-bind `\n* `--gateway-auth `\n* `--gateway-token `\n* `--gateway-password `\n* `--remote-url `\n* `--remote-token `\n* `--tailscale `\n* `--tailscale-reset-on-exit`\n* `--install-daemon`\n* `--no-install-daemon` (alias: `--skip-daemon`)\n* `--daemon-runtime `\n* `--skip-channels`\n* `--skip-skills`\n* `--skip-health`\n* `--skip-ui`\n* `--node-manager ` (pnpm recommended; bun not recommended for Gateway runtime)\n* `--json`\n\nInteractive configuration wizard (models, channels, skills, gateway).\n\nNon-interactive config helpers (get/set/unset). Running `openclaw config` with no\nsubcommand launches the wizard.\n\n* `config get `: print a config value (dot/bracket path).\n* `config set `: set a value (JSON5 or raw string).\n* `config unset `: remove a value.\n\nHealth checks + quick fixes (config + gateway + legacy services).\n\n* `--no-workspace-suggestions`: disable workspace memory hints.\n* `--yes`: accept defaults without prompting (headless).\n* `--non-interactive`: skip prompts; apply safe migrations only.\n* `--deep`: scan system services for extra gateway installs.\n\nManage chat channel accounts (WhatsApp/Telegram/Discord/Google Chat/Slack/Mattermost (plugin)/Signal/iMessage/MS Teams).\n\n* `channels list`: show configured channels and auth profiles.\n* `channels status`: check gateway reachability and channel health (`--probe` runs extra checks; use `openclaw health` or `openclaw status --deep` for gateway health probes).\n* Tip: `channels status` prints warnings with suggested fixes when it can detect common misconfigurations (then points you to `openclaw doctor`).\n* `channels logs`: show recent channel logs from the gateway log file.\n* `channels add`: wizard-style setup when no flags are passed; flags switch to non-interactive mode.\n* `channels remove`: disable by default; pass `--delete` to remove config entries without prompts.\n* `channels login`: interactive channel login (WhatsApp Web only).\n* `channels logout`: log out of a channel session (if supported).\n\n* `--channel `: `whatsapp|telegram|discord|googlechat|slack|mattermost|signal|imessage|msteams`\n* `--account `: channel account id (default `default`)\n* `--name