Reference

CLI Reference

Run minnal --help at any time for the full reference. The most common commands and flags are below.

Top-level commands

CommandDescription
minnalStart the TUI in the current directory
minnal run <message>Run a one-shot message non-interactively
minnal --resume <name>Resume a session by memorable name
minnal serveStart the persistent core server
minnal connectAttach a TUI client to a running server
minnal dictateVoice input via your configured STT command
minnal login --provider <name>OAuth or API-key login for a provider
minnal models [provider]List available models
minnal mcp <add|remove|list|logs>Manage MCP servers
minnal skill <add|remove|list>Manage Skills
minnal sessionsList, search, export sessions
minnal upgrade [version]Upgrade to latest or pinned version
minnal uninstallRemove minnal and its data dir
minnal channel use <stable|current|canary>Switch install channel
minnal --versionPrint the version

Global flags

FlagDescription
--help, -hShow help
--version, -vShow version
--print-logsMirror logs to stderr
--log-level <level>error | warn | info | debug | trace
--config <path>Use an alternative config file
--no-telemetryDisable telemetry for this run

Slash commands

Session

CommandEffect
/newStart a new session
/sessionsSwitch session
/resumeResume a previous session
/rename <name>Rename the current session
/forkFork from the current message
/compactSummarize and compact the transcript
/undoUndo the previous message
/redoRedo the previous undo
/exportExport session as JSON
/shareShare the session via signed URL

Agent & model

CommandEffect
/connectAdd or switch a model provider
/modelsPick a model
/model <id>Switch to a model by id
/agentsSwitch agent persona
/mcpsToggle MCP servers
/skillsActivate/deactivate skills

Workflow

CommandEffect
/initGenerate AGENTS.md for this repo
/planSwitch to plan-only mode (no edits)
/self-devEnter Self-Dev mode
/swarmSpawn or attach to a swarm
/dm <agent> <msg>DM another agent in the swarm
/broadcast <msg>Broadcast to all agents on the server
/memory <search|store> ...Memory tools
/alignment <left|center>Change UI alignment (also Alt+C)

Hotkeys

KeysAction
EnterSend message (interleaves with the running turn)
Shift+EnterQueue message until current turn finishes
TabToggle plan mode
Alt+CToggle centered alignment
Ctrl+RSearch session history
Ctrl+CCancel current turn
Ctrl+DExit

Exit codes

0  success
1  generic error
2  user cancelled
3  provider auth error
4  config error
5  build / self-dev failure