{"name":"CLAUDE_CODE_USE_POWERSHELL_TOOL","slug":"claude-code-use-powershell-tool","family":"env","title":"Environment variables","noun":"environment variable","description":"New structured reason codes let a host app tell why Claude Code refused to start","description_source":"entry","described_by":{"version":"2.1.274","anchor":"structured-startup-refusal-reasons-for-host-integrations"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.84","released_at":"2026-03-25 23:50:13","spans":2}},"aliases":[],"entries":[{"version":"2.1.287","anchor":"warning-when-denying-bash-also-removes-the-powershell-tool","heading":"Windows warning when blocking Bash also turns off PowerShell","line":"On Windows, Claude Code now warns that a Bash deny rule also removes the PowerShell tool, leaving Claude with no shell","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text, named in this entry"},{"version":"2.1.274","anchor":"structured-startup-refusal-reasons-for-host-integrations","heading":"Structured startup-refusal reasons for host integrations","line":"New structured reason codes let a host app tell why Claude Code refused to start","released_at":"2026-09-16 22:36:09","reason":"found in this entry's text"},{"version":"2.1.120","anchor":"expanded-windows-powershell-integration","heading":"Expanded Windows PowerShell Integration","line":null,"released_at":"2026-04-24 23:02:49","reason":"found in this entry's text"},{"version":"2.1.111","anchor":"powershell-tool-now-feature-flagged-on-windows","heading":"PowerShell Tool Now Feature-Flagged on Windows","line":null,"released_at":"2026-04-16 15:16:09","reason":"found in this entry's text"},{"version":"2.1.84","anchor":"powershell-tool-windows","heading":"PowerShell Tool (Windows)","line":null,"released_at":"2026-03-25 23:50:13","reason":"found in this entry's text"}],"entries_total":5,"docs":[{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"hooks","title":"Hooks reference","documented":false},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false},{"source":"claude-code","path":"setup","title":"Advanced setup","documented":false},{"source":"claude-code","path":"skills","title":"Extend Claude with skills","documented":false},{"source":"claude-code","path":"tools-reference","title":"Tools reference","documented":false},{"source":"claude-code","path":"whats-new\/2026-w13","title":"Week 13 \u00b7 March 23\u201327, 2026","documented":false},{"source":"claude-code","path":"whats-new\/2026-w21","title":"Week 21 \u00b7 May 18\u201322, 2026","documented":false}],"docs_total":9,"gates":[],"related":[{"name":"CLAUDE_CODE_USE_ANTHROPIC_AWS","slug":"claude-code-use-anthropic-aws","description":"A new provider-managed env var list decides gateway sign-in error wording."},{"name":"CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD","slug":"claude-code-use-anthropic-google-cloud","description":"A new provider-managed env var list decides gateway sign-in error wording."},{"name":"CLAUDE_CODE_USE_BEDROCK","slug":"claude-code-use-bedrock","description":"CLAUDE_CODE_USE_GATEWAY now passes down to spawned agent processes, so gateway routing is no longer dropped."},{"name":"CLAUDE_CODE_USE_CCR_V2","slug":"claude-code-use-ccr-v2","description":"Set by Claude Code to `1`, together with `CLAUDE_CODE_WORKER_EPOCH`, in the environment of a session child process that bridge mode spawns after registering it as a CCR v2 worker. It is declared as a boolean in the env schema, but no code in this version reads it."},{"name":"CLAUDE_CODE_USE_COWORK_PLUGINS","slug":"claude-code-use-cowork-plugins","description":"Claude Code shows notices saying why hooks are off, covering unreadable managed settings, bare mode, safe mode, managed policy and `--settings`"},{"name":"CLAUDE_CODE_USE_FOUNDRY","slug":"claude-code-use-foundry","description":"Base-URL safety checks now group Foundry and Bedrock Mantle with the other providers."},{"name":"CLAUDE_CODE_USE_GATEWAY","slug":"claude-code-use-gateway","description":"CLAUDE_CODE_USE_GATEWAY now passes down to spawned agent processes, so gateway routing is no longer dropped."},{"name":"CLAUDE_CODE_USE_MANTLE","slug":"claude-code-use-mantle","description":"CLAUDE_CODE_USE_GATEWAY now passes down to spawned agent processes, so gateway routing is no longer dropped."},{"name":"CLAUDE_CODE_USE_NATIVE_FILE_SEARCH","slug":"claude-code-use-native-file-search","description":null},{"name":"CLAUDE_CODE_USE_VERTEX","slug":"claude-code-use-vertex","description":"A new provider-managed env var list decides gateway sign-in error wording."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-use-powershell-tool","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}