Crush
Install and authenticate Charm's Crush inside Daintree, including provider env vars and why Daintree does not resume Crush sessions.
Crush
Crush is Charm's terminal-native agent, built on the Bubble Tea TUI framework. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.
| Command | crush |
|---|---|
| Shortcut | None by default; assign one in Keyboard Shortcuts |
| Rendering | Alt-screen, always; Bubble Tea needs it to draw at all |
| Resume | None. Daintree captures no session ID for Crush |
| Quit command | None; Daintree closes the process |
| Permission bypass | --yolo (per agent or preset only) |
| Platforms | macOS, Linux, Windows; Daintree's install prompt covers macOS and Linux |
Install & Authenticate
See Charm's current setup instructions for installation and sign-in.
brew install charmbracelet/tap/crush
# or
npm install -g @charmland/crush
# or
go install github.com/charmbracelet/crush@latestwinget install charmbracelet.crush Or with Scoop (scoop bucket add charm https://github.com/charmbracelet/scoop-bucket.git, then scoop install crush), or npm install -g @charmland/crush. Daintree's in-app install prompt has no Windows command for Crush, but detects the binary once it's on PATH.
brew install charmbracelet/tap/crush
# or
npm install -g @charmland/crush
# or
go install github.com/charmbracelet/crush@latest Charm also publishes an apt repository, an Arch package (yay -S crush-bin), and Nix packages.
Choose a provider in Crush's model picker and authenticate, or supply a provider key in the environment: set ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, OPENROUTER_API_KEY, or one of the other provider variables Charm lists. Deeper setup goes in a crushrc, a Bash-style file Crush reads from ./.crushrc, ./crushrc, or ~/.config/crush/crushrc; the older JSON config is still read but deprecated.
Daintree shows Crush as ready when it finds ~/.config/crush/crush.json (the older JSON location) or one of ANTHROPIC_API_KEY, OPENAI_API_KEY, or GOOGLE_API_KEY. A setup that uses only a crushrc or another provider's key can show No credentials detected while Crush works.
To stop Crush refreshing its provider catalog on every launch, add CRUSH_DISABLE_PROVIDER_AUTO_UPDATE=1 to its environment variables in Daintree, for the agent or a preset, or put option provider-auto-update false in your crushrc. Daintree suggests the variable in its environment editor but doesn't set it for you.
How Daintree Launches It
Crush's Bubble Tea interface must keep the alternate screen to draw, so Daintree never blocks it; it strips Crush's mouse-reporting requests so native text selection keeps working, and applies resizes once the pane settles. Turning on permission bypass adds --yolo; the global Skip permission prompts switch doesn't reach Crush, because the agent doesn't declare bypass support. Daintree does not hand Crush its MCP servers at launch.
Resuming Sessions
Daintree does not resume Crush. Crush has no slash-quit command, and Ctrl+C opens a confirmation dialog rather than exiting, so there is no clean shutdown moment at which a session ID could be captured. The agent registry therefore declares no resume path and every launch starts fresh. Crush keeps its own sessions per project; open its session picker inside the panel to return to one. A resume option in an installed Crush release does not become part of Daintree's restore flow until the integration declares it.
What Daintree still keeps is the panel: scrollback is serialized to disk and replayed on restart, and the panel's position in the grid survives a project switch. See Session Management for what persists.
Launch flags, custom presets and display titles are covered in Agent Presets. What the working, waiting and exited badges on a running agent mean is covered in Agent States.
crush isn't detected after install, confirm it's on your PATH, then restart Daintree. A go install build lands in ~/go/bin, which isn't on PATH for a GUI-launched process; Daintree probes that path directly for exactly that reason.Integration reference
This guide describes Daintree's checked-in integration. Its agent definition records the launch command, install guidance, authentication probes, rendering capabilities, and resume support. Authentication badges report local evidence; the CLI still owns sign-in and provider access. After changing an installation, use Re-check in Settings > CLI agents; restart Daintree if its inherited PATH has changed.