⌨️PowerShell Tool
Also known as PowerShell, CLAUDE_CODE_USE_POWERSHELL_TOOL
It runs PowerShell. Most of the time that is on Windows.
Think of it like
It is like Bash, but it speaks the way Windows talks.
Example
Lucy works on Windows with no Git Bash. Claude runs her build script through the PowerShell tool, with no extra setup.
Why it matters
Windows users get commands that run the way their system expects.
Definition
Example code
bash
export CLAUDE_CODE_USE_POWERSHELL_TOOL=1Common mistake
Key takeaways
- 1Native PowerShell. Not through Bash.
- 2On for Windows. Opt-in elsewhere.
- 3Bash rules apply. A Bash deny turns it off.