{"version":"2.1.326","anchor":"env-var-opt-in-message-now-mentions-settings","canonical_anchor":"env-var-opt-in-message-now-mentions-settings","heading":"Message about a blocked environment variable now mentions --settings","tier":"notice","area":"Settings","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/env-var-opt-in-message-now-mentions-settings","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Message about a blocked environment variable now mentions `--settings`\n\nWhen managed settings or ~\/.claude.json also set a variable, the message now says to turn it on in ~\/.claude\/settings.json or with --settings\n\n**What**\n\nAn environment variable is a named value that changes how a program behaves. Some variables have to be turned on by you, and Claude Code shows a message when managed settings (settings an organization controls) or `~\/.claude.json` also set the variable.\n\nThat message now gives two ways to turn it on:\n\n- In `~\/.claude\/settings.json`, inside its `env` block.\n\n- With `--settings`, the option that passes a settings file or inline JSON for one session.\n\nBefore, it mentioned only `~\/.claude\/settings.json`.\n\n**Why**\n\nYou now have a second documented route to set the value yourself, which is useful when you cannot or do not want to edit your settings file.\n\n- Area: Settings\n- Names: `--settings`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}