CLI Reference
Commands are grouped into global commands (run anywhere) and project commands (run inside a project directory).
Global commands
| Command | Purpose | Example |
|---|---|---|
discode onboard |
First-time setup: token, server detection, default CLI, permission mode. | discode onboard --token YOUR_BOT_TOKEN |
discode daemon <start|stop|status> |
Control the global daemon process. | discode daemon status |
discode list |
List all registered projects. | discode list |
discode agents |
Show detected AI CLI binaries. | discode agents |
discode tui |
Open interactive terminal UI. | discode tui |
discode config [options] |
Show or update global configuration values. | discode config --show |
Project commands
| Command | Purpose | Example |
|---|---|---|
discode new [agent] [options] |
Quick start workflow: setup, daemon start, channel creation, tmux attach. | discode new claude |
discode start [options] |
Start registered projects. | discode start -p my-app --attach |
discode stop [project] |
Stop project, clean tmux session, and remove project state. | discode stop --keep-channel |
discode status |
Show project status. | discode status |
discode attach [project] |
Attach to tmux session of the current or named project. | discode attach my-app |
Common flows
# One-time setup
discode onboard
# Start a new project session
cd ~/projects/my-app
discode new
# Check health
discode daemon status
discode status
Agent binaries are detected with command -v <binary>. If not detected, install
the CLI first, then re-run discode agents.