crush
TLDR
Start an interactive session
SYNOPSIS
crush [options] [command]
DESCRIPTION
Crush is a glamorous AI coding agent for your terminal, developed by Charmbracelet. Built in Go for speed and efficiency, it provides a terminal user interface (TUI) for interacting with various AI models to help with coding tasks, debugging, and file operations.
Crush supports multiple AI providers including OpenAI, Anthropic, Google Gemini, Groq, OpenRouter, AWS Bedrock, and local models via Ollama and LM Studio. It uses Language Server Protocol (LSP) for enhanced code context and is extensible via Model Context Protocol (MCP) servers with stdio, http, and sse transports.
The tool offers excellent cross-platform compatibility, supporting macOS, Linux, Windows (PowerShell and WSL), FreeBSD, OpenBSD, and NetBSD. Configuration is stored in JSON files with settings for providers, LSP, MCP servers, and permissions.
PARAMETERS
--cwd PATH
Change to a specific directory before starting--data-dir PATH
Override the default data directory location--debug
Enable debug logging for troubleshooting--yolo
Skip all permission prompts (dangerous, use with caution)--help
Display help information--version
Show version number
COMMANDS
run PROMPT
Run Crush in non-interactive mode with a promptlogs
Print the last 1000 lines of logslogs --tail N
Print the last N lines of logslogs --follow
Follow logs in real time
CAVEATS
Requires API keys from supported providers set via environment variables (ANTHROPICAPIKEY, OPENAIAPIKEY, etc.) or configured in crush.json. The --yolo flag bypasses all permission prompts and should be used with extreme caution. Debug mode with --debug generates verbose logging.
HISTORY
Crush was developed by Charmbracelet, a company known for creating engaging terminal applications. It was previously known as OpenCode AI before being renamed to Crush. The project is released under the FSL-1.1-MIT license (MIT-compatible) and has gained over 8,900 GitHub stars. Version 0.4.0 was released in August 2025.


