Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

3 pages for defaultshell.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Claude Code settings Claude Code CLI · in the page settings …| | `defaultShell` | **Default**: `"bash"`, or `"powershell"` on Windows when Bash isn't available. Default shell f… All settings Claude Code CLI · in the page settings-reference …m, or refuses them | Agents, sessions, and worktrees | Any file | | [`defaultShell`](#defaultshell) | Choose whether Bash or PowerShell runs the shell commands you type with the [`!` prefix](/docs/en/… Tools reference Claude Code CLI · in the page tools-reference …lls Three additional settings control where PowerShell is used: * `"defaultShell": "powershell"` in [`settings.json`](/docs/en/settings-reference#all-settings): routes interactive `!` commands throu…
Feedback