Kilo Code CLI Cheatsheet - Terminal Open-source Coding Agent
All Kilo Code CLI terminal coding-agent commands in one place — from install to interactive/one-off tasks, model switching to MCP — organized by scenario. Copy and go.
Install & Launch 5
npm install -g @kilocode/clikilo --versionkilokilo upgradebrew install Kilo-Org/tap/kiloInteractive & One-off Tasks 5
kilo run "add input validation to the signup form"kilo --mode architectkilo --workspace /path/to/projectkilo -ckilo --auto "Implement feature X"Models & Integrations 6
kilo authkilo modelskilo mcpkilo session listkilo export <sessionID>kilo serveTips
- The Kilo CLI shares the same engine as the IDE extensions — reuse your VS Code/JetBrains models, MCP servers, and rules in the terminal.
- `kilo --auto` runs autonomously and fits CI/CD pipelines; pair it with `--timeout 300` to cap automatic tasks and avoid runaway execution.
- `kilo -c` resumes the latest conversation and `kilo session list` manages history, so interrupted long tasks can pick up where they left off.
FAQ
Does the Kilo Code CLI share the engine with the IDE extensions?
Yes. The CLI uses the same underlying technology as the VS Code/JetBrains extensions, so you reuse the models, MCP servers, and rules configured in your IDE, with a consistent workflow.
What environment is kilo --auto suited for?
It suits trusted automation environments like CI/CD, where it auto-approves all tool calls and runs without interaction. For daily local work, interactive mode is safer to avoid unconfirmed file changes.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Aug 26, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact UsEdit this page on GitHub
Edit the source file directly and open a PR to improve this cheatsheet.