Appendix

C. CLI catalog

Every user-visible matcha entry. Bare matcha (no subcommand) is the interactive TUI and is not a subcommand.

Default invocation

InvocationHideMode ASee
matchanoavailableThree ways to run Matcha; First launch and the welcome screen
matcha "<prompt>"noavailableSame
matcha -p / --single / --printnoavailableHeadless and CI
matcha -c / --continuenoavailableNew, resume, rename, delete
matcha -r / --resumenoavailableNew, resume, rename, delete
matcha --minimal / --fullscreennoavailableFullscreen vs minimal
matcha --oauth (root flag)nounavailableAppendix A

Subcommands

CLIHideMode ASee
matcha agentnoavailable (stdio); relay headless is outHeadless and CI; ACP / stdio
matcha inspectnoavailableInspect what Matcha discovered
matcha doctornoavailableDoctor and inspect
matcha leadernoavailable (local process management)Leader processes
matcha logoutnoavailableConfigure a Provider (BYOK)
matcha loginnoBYOK available; --oauth / --device-auth unavailable; --legacy hidden; --devbox skippedConfigure a Provider (BYOK)
matcha mcpnoavailable (user-configured)Local MCP servers
matcha pluginnolocal install available; plugin marketplace unavailableLocal plugins
matcha memorynoavailable (local clear)Memory
matcha modelsnoavailableSwitch models
matcha sessionsnoavailable (local history)New, resume, rename, delete
matcha setupnounavailableAppendix A
matcha sharehideunavailable; handler bailsAppendix A
matcha wraphide when not Unix/WindowsavailableClipboard wrap
matcha exportnoavailableExport locally
matcha tracenoupload unavailable; --local availableAppendix A; Local usage and release notes
matcha updateno (--enterprise hidden)unavailableAppendix A
matcha version (alias v); also -v / -V / --versionnoavailableSupported platforms
matcha completionsnoavailableBuild from source
matcha worktreenoavailableGit worktrees
matcha du (alias disk-usage)noavailableDisk usage
matcha workspacehideunavailableAppendix A
matcha dashboardnoavailable when [dashboard].enabled and MATCHA_AGENT_DASHBOARD is not 0Assistant dashboard

Nested subcommands

ParentNestedHideMode ASee
agentstdionoavailableACP / stdio
agentheadlessnounavailableAppendix A
agentservenolocal bind; do not teach product relayACP / stdio
agentleadernoavailableLeader processes
doctorfix [ID] [--yes]noavailableDoctor and inspect
leaderlist, info, killnoavailableLeader processes
login--provider, --from-env, --validatenoavailableConfigure a Provider (BYOK)
login--oauth / --oidc, --device-auth / --device-codenounavailableAppendix A
mcplist, add, remove, enable, disable, doctornoavailableLocal MCP servers
pluginlist, install, uninstall (rm/remove), update, enable, disable, details, validate, tagnoavailable for local pathsLocal plugins
pluginmarketplace (list/add/remove/update)nounavailableAppendix A
memoryclear (--workspace / --global / --all)noavailableMemory
sessionslist, search, deletenoavailableNew, resume, rename, delete
worktreelist (ls), show, rm, gc (prune), dbnoavailableGit worktrees
workspacestart, pause, resume, stop, restart, status (list)hide (parent)unavailableAppendix A

Hidden root flags

These parse, and they are omitted from --help. Do not teach them:

  • --trust / --trust-folder
  • --load (alias of --resume)
  • --compaction-mode, --compaction-detail
  • --no-ask-user, --no-wait-for-background, --background-wait-timeout
  • --storage-mode, --client-identifier, --hunk-tracker-mode
  • --terminal, --fs-read, --fs-write
  • --no-auto-update, --todo-gate, --installer
  • --log-sampling, --force-login
  • top-level --leader / --no-leader

The grok argv0 is a compatibility shim for the same command set. See Migrating from Grok Build.