Crush CLI Cheatsheet - Charmbracelet Terminal Multi-Model Coding Agent
All Crush terminal coding-agent commands in one place — from install to sessions/modes, LSP enhancement to MCP — organized by scenario. Copy and go.
Install & Launch 6
brew install charmbracelet/tap/crushnpm install -g @charmland/crushwinget install charmbracelet.crushgo install github.com/charmbracelet/crush@latestcrushexport ANTHROPIC_API_KEY="sk-..."Sessions & Modes 4
crush --yolo/model claude-sonnet-4crush logs --followcrush --helpConfiguration 4
./.crush.json./crush.json$HOME/.config/crush/crush.json"permissions": { "allowed_tools": ["ls", "rg", "cargo check"] }Tips
- Crush is a single binary, cross-platform (including Windows PowerShell/WSL and BSD); first launch prompts for a provider API key, or set an env var directly.
- `crush --yolo` skips all confirmations for fast runs in trusted environments; for daily use, an `allowed_tools` whitelist is safer, exempting only specific commands.
- Crush has built-in LSP enhancement (gopls/rust-analyzer/pyright) and MCP extensions, so code questions get real symbol tables and diagnostics — more accurate than plain text search.
FAQ
Which model providers does Crush support?
It supports OpenAI, Anthropic, Groq, Gemini, Bedrock, Azure, and any OpenAI/Anthropic-compatible endpoint, and you can switch mid-session with `/model` without losing context. It auto-detects the env vars you set.
What are Crush LSP and MCP for?
LSP lets Crush call gopls/rust-analyzer/pyright for real-time symbol tables and diagnostics like you would; MCP plugs in Stripe docs, Docker, internal wikis, etc. as first-class context providers to extend capabilities.
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.