{"version":"2.1.292","anchor":"new-env-vars-claude-code-managed-config-prefetch-and-claude","canonical_anchor":"new-env-vars-claude-code-managed-config-prefetch-and-claude","heading":"Two new environment variables for managed config and artifact versions","tier":"use","area":"Environment Variables","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/new-env-vars-claude-code-managed-config-prefetch-and-claude","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### Two new environment variables for managed config and artifact versions\n\nClaude Code now reads `CLAUDE_CODE_MANAGED_CONFIG_PREFETCH` at startup and keeps `CLAUDE_CODE_ARTIFACT_VERSIONS` out of programs it starts\n\n**Unclear.** It is not clear what setting `CLAUDE_CODE_MANAGED_CONFIG_PREFETCH` does to startup, or where `CLAUDE_CODE_ARTIFACT_VERSIONS` is used.\n\n**What**\n\nClaude Code has two new environment variables (settings passed in from the shell):\n\n- `CLAUDE_CODE_MANAGED_CONFIG_PREFETCH`: read during startup to decide whether to fetch managed configuration early. Managed configuration is settings set by an organization.\n\n- `CLAUDE_CODE_ARTIFACT_VERSIONS`: treated as a host-only variable, so it is removed from the environment of programs Claude Code starts. The name is matched regardless of upper or lower case.\n\n**Why**\n\nBoth are switches for the program hosting Claude Code. Fetching managed settings early could change how long startup takes.\n\n- Area: Environment Variables\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5\n- Scope: both\n- Heads-up: no"}