{"name":"process.env","slug":"process-env","family":"setting","title":"Settings keys","noun":"settings key","description":"Small polish: credit labels, an extra help link, bigger artifact fetch limit, safer MCP environment handling.","description_source":"entry","described_by":{"version":"2.1.219","anchor":"smaller-adjustments"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.319","builds":0,"mined_builds":159,"first_cited":{"version":"2.1.3","released_at":"2026-01-09 21:05:42","spans":7}},"aliases":[],"entries":[{"version":"2.1.281","anchor":"debug-claude-agent-sdk-read-from-live-processenv-with-truth","heading":"DEBUG_CLAUDE_AGENT_SDK read from live process.env with truthy parsing","line":"`DEBUG_CLAUDE_AGENT_SDK` is now read from the current environment each time and parsed as on or off","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.267","anchor":"new-processenv-readwrite-primitive-for-tools","heading":"New process.env read\/write primitive for tools","line":"New internal helpers let Claude read and set process environment variables","released_at":"2026-09-09 18:25:42","reason":"found in this entry's text, named in this entry"},{"version":"2.1.248","anchor":"ink-app-shell-mcp-client-and-skill-tool-moved-to-top-level-d","heading":"Ink app shell, MCP client and Skill tool moved to top-level definitions","line":"The Ink shell, MCP client and Skill tool are now defined at load time.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"},{"version":"2.1.232","anchor":"environment-variables-read-through-one-typed-table-instead-o","heading":"Environment variables read through one typed table instead of scattered process.env lookups","line":"Environment variables are now read through one typed table, with the same names and behaviour.","released_at":"2026-08-13 21:30:53","reason":"found in this entry's text"},{"version":"2.1.232","anchor":"more-environment-variables-read-through-the-central-accessor","heading":"More environment variables read through the central accessor","line":"More environment variables go through the central registry that handles allowlisting and scrubbing.","released_at":"2026-08-13 21:30:53","reason":"found in this entry's text"},{"version":"2.1.228","anchor":"environment-variables-read-through-one-typed-accessor","heading":"Environment variables read through one typed accessor","line":"Environment flags are now parsed centrally, so values are compared to explicit true or false.","released_at":"2026-08-11 17:45:45","reason":"found in this entry's text"},{"version":"2.1.228","anchor":"about-220-more-environment-variables-move-to-the-typed-regis","heading":"About 220 more environment variables move to the typed registry","line":"About 220 environment variables now parse and validate in one place, including bounds checks.","released_at":"2026-08-11 17:45:45","reason":"found in this entry's text"},{"version":"2.1.223","anchor":"host-orchestrated-env-var-protection-is-case-insensitive","heading":"Host-orchestrated env var protection is case-insensitive","line":"On Windows, differently-cased environment variable names can no longer override ones the host has claimed.","released_at":"2026-08-05 22:51:13","reason":"found in this entry's text"},{"version":"2.1.221","anchor":"artifact-credentials-and-artifact-base-urls-are-stripped-fro","heading":"Artifact credentials and artifact base URLs are stripped from child process environments","line":"Artifact tokens and artifact base URLs no longer leak into processes Claude spawns.","released_at":"2026-08-03 22:16:25","reason":"found in this entry's text"},{"version":"2.1.219","anchor":"smaller-adjustments","heading":"Smaller adjustments","line":"Small polish: credit labels, an extra help link, bigger artifact fetch limit, safer MCP environment handling.","released_at":"2026-07-24 16:11:49","reason":"found in this entry's text"}],"entries_total":14,"docs":[{"source":"api","path":"agents-and-tools\/tool-use\/strict-tool-use","title":"strict-tool-use","documented":false},{"source":"api","path":"build-with-claude\/claude-in-microsoft-foundry","title":"claude-in-microsoft-foundry","documented":false},{"source":"api","path":"build-with-claude\/context-editing","title":"context-editing","documented":false},{"source":"api","path":"build-with-claude\/mid-conversation-effort-example","title":"mid-conversation-effort-example","documented":false},{"source":"api","path":"cli-sdks-libraries\/libraries\/openai-sdk","title":"openai-sdk","documented":false},{"source":"api","path":"cli-sdks-libraries\/sdks\/typescript","title":"typescript","documented":false},{"source":"api","path":"manage-claude\/opentelemetry\/api","title":"api","documented":false},{"source":"api","path":"manage-claude\/wif-providers\/aws","title":"aws","documented":false},{"source":"api","path":"manage-claude\/wif-providers\/azure","title":"Create the app registration that represents the Claude API audience.","documented":false},{"source":"api","path":"manage-claude\/wif-providers\/gcp","title":"gcp","documented":false}],"docs_total":12,"gates":[],"related":[{"name":"process.run","slug":"process-run","description":null},{"name":"process.spawn","slug":"process-spawn","description":"Plugins can now spawn and stream a subprocess via a new process.spawn host operation"},{"name":"processWrapper","slug":"processwrapper","description":"Run Claude Code's background processes through a [corporate launcher](https:\/\/code.claude.com\/docs\/en\/corporate-launcher.md) on macOS and Linux"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/process-env","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}