{"name":"PATH","slug":"path","family":"env","title":"Environment variables","noun":"environment variable","description":"Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.","description_source":"entry","described_by":{"version":"2.1.234","anchor":"inline-policy-helpers-run-with-a-scrubbed-environment-and-a-"},"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":null},"aliases":[],"entries":[{"version":"2.1.302","anchor":"claude-code-auto-mode-model-added-to-a-list-that-includes-cl","heading":"CLAUDE_CODE_AUTO_MODE_MODEL now sits on a list of environment variables","line":"Claude Code now lists `CLAUDE_CODE_AUTO_MODE_MODEL` with `PATH`, `CLAUDE_CODE_EXTRA_BODY` and `CLAUDE_CODE_HOST_CREDS_FILE`, and refers to it in more places","released_at":"2026-10-16 16:48:28","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"subprocess-env-now-applies-settings-env-before-filtering","heading":"Environment variables from settings are applied earlier for programs Claude Code starts","line":"Environment variables from your settings are now added before Claude Code filters the environment it passes to programs it starts","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"shell-snapshot-path-override-and-simpler-function-injection","heading":"Bash commands now get their PATH from a new source","line":"Claude Code's saved shell setup now takes its PATH from a new source, falling back to your own, and always adds a guard on pkill","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.287","anchor":"gh-shim-path-ordering-with-ghstandin","heading":"A real gh install can take priority over Claude Code's stand-in","line":"In stand-in mode, Claude Code now puts its gh shim after your PATH, so an installed gh runs first","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text"},{"version":"2.1.287","anchor":"shell-snapshot-telemetry-gains-duration-and-capture-method-f","heading":"Shell snapshot timing is now measured, and Bash commands get an extra PATH step","line":"Claude Code now records how long its shell snapshot takes and how it was captured, and adds an extra PATH step before Bash commands","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text"},{"version":"2.1.284","anchor":"shell-snapshot-no-longer-duplicates-path-entries","heading":"Bash commands no longer get duplicate folders in PATH","line":"Claude Code no longer adds a folder to PATH a second time when it is already there for Bash commands","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.282","anchor":"cloud-file-sync-now-refuses-repos-whose-settings-steer-path","heading":"Cloud file sync turns off when repository settings change PATH or similar variables","line":"Cloud file sync now switches off for a session when a settings file in the repository sets PATH, a loader variable, or the temp or config folder","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"self-hosted-runner-gh-routing-by-path-staged-files-as-args","heading":"Self-hosted runner: gh routing by path, staged files as args, subagent prompt inlining","line":"The self-hosted runner now routes GitHub calls by path, passes staged files as arguments and can inline subagent prompts","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"settings-now-record-which-env-values-they-offered","heading":"Settings now record which env values they offered","line":"Claude Code now remembers which environment variable values came from your settings files, so later checks can tell them apart","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.277","anchor":"cloudremote-hook-execution-now-inspects-a-scripts-shebang","heading":"Cloud\/remote hook execution now inspects a script's shebang line, not just its declared interpreter","line":"Cloud\/remote hook execution now reads a script's actual shebang line, not just its declared interpreter","released_at":"2026-09-18 16:22:26","reason":"found in this entry's text"}],"entries_total":21,"docs":[{"source":"api","path":"about-claude\/models\/migration-guide","title":"Or, for the model with the same capabilities and no access approval requirement:","documented":false},{"source":"api","path":"about-claude\/models\/optimizing-for-cost-and-intelligence","title":"optimizing-for-cost-and-intelligence","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/commerce-agents","title":"commerce-agents","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/overview","title":"overview","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/ticket-routing","title":"ticket-routing","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/best-practices","title":"PDF Processing","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/claude-api-skill","title":"claude-api-skill","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/enterprise","title":"enterprise","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/quickstart","title":"quickstart","documented":false},{"source":"api","path":"agents-and-tools\/mcp-connector","title":"mcp-connector","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/path","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}