Claude Code bash mode

Jan 20, 2026

You can run shell commands directly without Claude Code interpreting your intent by prefixing your input with ! to enter bash mode, it passes your command straight to the terminal, bypassing the LLM entirely.

Bash mode in action