CLI Commands
This page lists the user-facing March commands and options exposed by the CLI help.
Main usage
bash
march [options] [prompt]
march [options]Without a prompt, March starts an interactive REPL in the current directory. With a prompt, March handles that request directly.
Provider commands
bash
march provider --config
march provider remove
march provider share [id]
march provider accept <token>
march login [provider]provider --configopens interactive provider credential configuration.provider removeremoves a configured provider interactively.provider share [id]creates a provider share token. Add--include-keyto include the API key, or--profile-onlyto omit it.provider accept <token>imports a shared provider profile.login [provider]logs in to an OAuth provider.
Web search
bash
march websearch --configConfigures web search credentials.
Memory commands
bash
march memory serve [folder]
march memory add <url>
march memory list
march memory remove <name>serveexposes a memory folder as a remote memory source.addregisters a remote memory URL.listlists configured remote memories.removeremoves a remote memory source from config.
Useful options:
--host <host>and--port <port>forserve--name <name>forserveandadd--foregroundfor running a memory server in the current process
Browser commands
bash
march browser install
march browser status
march browser restartThese manage the developer browser extension and browser daemon used by browser tools.
Gateway commands
bash
march gateway setup
march gateway statusThese configure and inspect gateway integration.
Common options
| Option | Meaning |
|---|---|
-m, --model <id> | Initial model id override |
--provider <name> | Initial provider override |
--resume <id> | Resume a pi session by id |
--json | JSON output mode without TUI |
--dump-context | Write every model prompt under .march/context-dumps/ |
--shell-runtime | Enable interactive PTY shell tools |
--no-shell-runtime | Disable interactive PTY shell tools and shell pane |
-e, --extension <path> | Load a pi extension path; repeatable |
-h, --help | Show CLI help |
-v, --version | Show version |