Search the documentation
7 pages for claude_code_use_powershell_tool.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Hooks reference
Claude Code CLI · in the page
hooks
…shell"` runs the command via PowerShell on Windows. Does not require `CLAUDE_CODE_USE_POWERSHELL_TOOL` since hooks spawn PowerShell directly. Ignored when `args` is set | <a id="exec-form-and-shell-f…
Claude Code settings
Claude Code CLI · in the page
settings
…ool) is enabled: it's on by default on Windows without Git Bash, and `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` enables it elsewhere…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…m, and Microsoft Foundry sessions, and on macOS, Linux, and WSL, set `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` to turn the tool on. Set that variable to `0` to turn the tool off. * **Scope**: [`Any file`](…
Advanced setup
Claude Code CLI · in the page
setup
…: on by default for claude.ai and Console accounts, and enabled with `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` in Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry sessions. Set it to `0`…
Extend Claude with skills
Claude Code CLI · in the page
skills
…default with Git Bash for claude.ai and Console accounts, and needs `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` in Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry sessions and on macOS,…
Tools reference
Claude Code CLI · in the page
tools-reference
…*: the tool is on by default for claude.ai and Console accounts; set `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` to enable it in Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry sessions,…
Week 13 · March 23–27, 2026
Claude Code CLI · in the page
whats-new/2026-w13
…``json .claude/settings.json {3} theme={null} { "env": { "CLAUDE_CODE_USE_POWERSHELL_TOOL": "1" } } ``` <a className="digest-feature-link" href="/docs/docs/en/tools-reference#po…