Commands
Reference for every top-level Kolbo Code CLI command
Kolbo Code exposes a handful of top-level subcommands. Running kolbo
with no arguments launches the interactive TUI in the current directory.
Launching the TUI
kolbo # open TUI in the current directory
kolbo <path> # open TUI with a different working directoryAuthentication
kolbo auth login # device-code OAuth login
kolbo auth list # show the active Kolbo account
kolbo auth logout # remove stored credentialsSee Authentication for the full flow.
Headless run
Run a one-shot prompt without entering the TUI:
kolbo run "explain the architecture of this repo"Useful for scripting and CI usage.
Serve
Start Kolbo Code as an HTTP server so you can drive it from another client (the web UI, the VS Code extension, etc.):
kolbo serveModels & providers
kolbo models # list available chat / coding models
kolbo providers # show configured inference providersAll models are served through api.kolbo.ai — you do not need to set
any provider keys locally.
Sessions
kolbo session list # list past sessions stored locally
kolbo session ... # additional session managementUpgrade
kolbo upgrade # self-upgrade to the latest published versionUninstall
kolbo uninstallSee Uninstall for all options (keep config, keep data, dry run, force).
Miscellaneous
| Command | Purpose |
|---|---|
kolbo mcp | Manage MCP servers |
kolbo github | GitHub integration helpers |
kolbo pr | Open a pull request from the current branch |
kolbo export | Export a session transcript |
kolbo stats | Show local usage stats |
kolbo account | Inspect / manage the linked Kolbo account |
kolbo agent | Manage custom agents |
Run kolbo <command> --help for the full option list of any subcommand.
TUI Slash Commands
Inside the interactive TUI, type / followed by a command name to run it.
/rewind
Open the rewind panel to restore code and/or conversation to any earlier point in the session. Shows a timeline of all past messages with their code changes.
Trigger: double-tap Esc on an empty prompt, or type /rewind.
When you select a message, you get five restore options:
- Restore code and conversation — revert both files and chat history
- Restore conversation — only rewind the chat, keep current code
- Restore code — only revert file changes, keep the conversation
- Summarize from here — compact the session from that point
- Never mind — cancel
Rewinding does not affect files edited manually or via bash — only changes made through the agent's edit tools are tracked.
Requires a Git repository (file changes are tracked with Git snapshots).
/undo
Undo the last message and all associated file changes. Equivalent to
stepping back one turn. Use /redo to restore.
Keybind: Ctrl+X U
/redo
Redo a previously undone message. Only available after /undo.
Keybind: Ctrl+X R
/compact
Summarize the conversation so far using AI compaction to free up context while preserving key information.
Keybind: Ctrl+X C
Other TUI commands
| Command | Purpose |
|---|---|
/models | Switch between available AI models |
/themes | Switch between built-in themes |
/sessions | List and switch between sessions |
/share | Share current session as a public link |
/editor | Compose messages in your external editor |
/init | Auto-generate project rules based on your codebase |
/clear | Start a fresh conversation session |
/help | Show available commands |