{"name":"CLAUDE_CODE_DISABLE_POWERSHELL_ALIAS_SHADOW_CHECK","slug":"claude-code-disable-powershell-alias-shadow-check","family":"env","title":"Environment variables","noun":"environment variable","description":"Claude Code can now spot PowerShell functions that reuse an alias name, and `CLAUDE_CODE_DISABLE_POWERSHELL_ALIAS_SHADOW_CHECK` turns that off","description_source":"entry","described_by":{"version":"2.1.326","anchor":"powershell-alias-shadow-check-with-an-env-opt-out"},"presence":{"first_seen":"2.1.326","removed_in":null,"in_current_build":true,"newest_mined":"2.1.330","builds":5,"mined_builds":169,"first_cited":{"version":"2.1.326","released_at":"2026-11-16 18:43:39","spans":1}},"aliases":[],"entries":[{"version":"2.1.326","anchor":"powershell-alias-shadow-check-with-an-env-opt-out","heading":"PowerShell commands get an alias-shadowing check and a hardening preamble","line":"Claude Code can now spot PowerShell functions that reuse an alias name, and `CLAUDE_CODE_DISABLE_POWERSHELL_ALIAS_SHADOW_CHECK` turns that off","released_at":"2026-11-16 18:43:39","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_DISABLE_POWERSHELL_CMD_RM_DENY","slug":"claude-code-disable-powershell-cmd-rm-deny","description":"Set to `1` to turn off the [PowerShell tool](\/docs\/en\/tools-reference#powershell-tool) check that denies the `cmd` built-ins `rd`, `rmdir`, `del`, and `erase` on a [system path](\/docs\/en\/permission-modes#remove-item-in-powershell), such as a drive root or your home directory. Claude Code ignores this variable in a settings file's `env` block. Requires Claude Code v2.1.283 or later"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-disable-powershell-alias-shadow-check","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}