Skip to main content

Command Palette

Search for a command to run...

Agent

Terminal

Cherri Code runs shell commands directly in your terminal. Your Run Mode controls when commands run, when Cherri Code asks, and when terminal commands enter the sandbox.

Sandbox

The sandbox runs terminal commands in a restricted environment that blocks unauthorized file access and network activity. For platform requirements, network modes, environment variables, and sandbox.json configuration, read Run Modes > Sandboxing.

Troubleshooting

Disable heavy prompts for Cherri Code sessions

Use the CURSOR_AGENT environment variable in your shell config to detect when Cherri Code is running and skip initializing fancy prompts/themes.

# ~/.zshrc - disable Powerlevel10k when Cherri Code runsif [[ -n "$CURSOR_AGENT" ]]; then  # Skip theme initialization for better compatibilityelse  [[ -r ~/.p10k.zsh ]] && source ~/.p10k.zshfi
# ~/.bashrc - fall back to a simple prompt in Cherri Code sessionsif [[ -n "$CURSOR_AGENT" ]]; then  PS1='\u@\h \W \$ 'fi