[DOCS] PowerShell tool docs still describe opt-in rollout instead of default-enable behavior for Bedrock, Vertex, and Foundry on Windows
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/tools-reference
Section/Topic
PowerShell tool setup guidance on Windows, plus related shell-selection references that describe when CLAUDE_CODE_USE_POWERSHELL_TOOL must be set
Current Documentation
The docs currently say:
The PowerShell tool lets Claude run PowerShell commands natively. On Windows, this means commands run in PowerShell instead of routing through Git Bash. On Windows without Git Bash, the tool is enabled automatically. On Windows with Git Bash installed, the tool is rolling out progressively. On Linux, macOS, and WSL, the tool is opt-in.
SetCLAUDE_CODE_USE_POWERSHELL_TOOL=1in your environment or insettings.json:
The environment variable reference says:
CLAUDE_CODE_USE_POWERSHELL_TOOL| Controls the PowerShell tool. On Windows without Git Bash, the tool is enabled automatically; set to0to disable it. On Windows with Git Bash installed, the tool is rolling out progressively: set to1to opt in or0to opt out.
The Windows setup guide says:
Claude Code can also run PowerShell natively on Windows. When Git Bash is installed, the PowerShell tool is rolling out progressively as an additional option: setCLAUDE_CODE_USE_POWERSHELL_TOOL=1to opt in or0to opt out.
Related settings pages also still require an explicit opt-in:
Setting"powershell"routes interactive!commands through PowerShell on Windows. RequiresCLAUDE_CODE_USE_POWERSHELL_TOOL=1.
What's Wrong or Missing?
Changelog v2.1.143 says:
The PowerShell tool is now enabled by default on Windows for Bedrock, Vertex, and Foundry users. Opt out with CLAUDE_CODE_USE_POWERSHELL_TOOL=0.
The current docs still present the Windows PowerShell tool as either automatically enabled only when Git Bash is absent, or as a gradual opt-in rollout that requires CLAUDE_CODE_USE_POWERSHELL_TOOL=1 when Git Bash is installed.
That is now outdated for a specific user group: Windows users on Bedrock, Vertex, and Foundry.
A. The provider-specific default behavior is undocumented
The docs do not explain that these third-party provider users now get the PowerShell tool by default on Windows.
B. The opt-in guidance is now misleading for affected users
Pages still instruct users to set CLAUDE_CODE_USE_POWERSHELL_TOOL=1, even though v2.1.143 changed the behavior to opt-out-by-default for Bedrock, Vertex, and Foundry on Windows.
C. Downstream shell-selection docs inherit the outdated assumption
Settings, skills, and slash-command docs still frame PowerShell shell selection as requiring a manual enable step, which no longer matches the default behavior for those provider-specific Windows deployments.
Suggested Improvement
Update the PowerShell tool and env-var docs to describe Windows behavior in three cases instead of two:
Before:
On Windows without Git Bash, the tool is enabled automatically. On Windows with Git Bash installed, the tool is rolling out progressively.
After:
On Windows, the default depends on your environment: - If Git Bash is unavailable, Claude Code uses PowerShell automatically. - For Bedrock, Vertex, and Foundry users on Windows, the PowerShell tool is enabled by default; setCLAUDE_CODE_USE_POWERSHELL_TOOL=0to opt out. - On Linux, macOS, and WSL, setCLAUDE_CODE_USE_POWERSHELL_TOOL=1to opt in.
Suggested minimum fix:
- Update
tools-referenceandenv-varsso they explicitly mention the Bedrock/Vertex/Foundry default-enable behavior added in v2.1.143 - Update
setupso Windows guidance no longer implies that all Git-Bash-installed users must opt in manually - Update
settings,skills, andslash-commandssoRequires CLAUDE_CODE_USE_POWERSHELL_TOOL=1is qualified for the cases where that is still true instead of stated as a universal Windows requirement
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/tools-reference | Primary PowerShell tool page still describes a progressive Windows rollout and universal opt-in guidance |
| https://code.claude.com/docs/en/env-vars | CLAUDE_CODE_USE_POWERSHELL_TOOL entry still says Windows with Git Bash is a rollout that requires opting in |
| https://code.claude.com/docs/en/setup | Windows setup guidance still tells Git-Bash-installed users to opt in with CLAUDE_CODE_USE_POWERSHELL_TOOL=1 |
| https://code.claude.com/docs/en/settings | defaultShell docs still say PowerShell requires CLAUDE_CODE_USE_POWERSHELL_TOOL=1 |
| https://code.claude.com/docs/en/skills | Skill frontmatter shell: powershell docs still say PowerShell requires CLAUDE_CODE_USE_POWERSHELL_TOOL=1 |
| https://code.claude.com/docs/en/slash-commands | Slash-command/skill frontmatter docs repeat the same unconditional CLAUDE_CODE_USE_POWERSHELL_TOOL=1 requirement |
Total scope: 6 pages affected
Source: Changelog v2.1.143
Exact changelog entry:
The PowerShell tool is now enabled by default on Windows for Bedrock, Vertex, and Foundry users. Opt out with CLAUDE_CODE_USE_POWERSHELL_TOOL=0.This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗