Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Message about a blocked environment variable now mentions --settings

When managed settings or ~/.claude.json also set a variable, the message now says to turn it on in ~/.claude/settings.json or with --settings

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SettingsArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

An 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.

That message now gives two ways to turn it on:

  • In ~/.claude/settings.json, inside its env block.
  • With --settings, the option that passes a settings file or inline JSON for one session.

Before, it mentioned only ~/.claude/settings.json.

Why

You 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.

Read from
Names in the bundle--settings
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Best practices for Claude Code touched a line naming --settings after this was published. * [`--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode) skips your hooks, skills, plugins, MCP servers, and `CLAUDE.md` files from the repo and your home directory. It also doesn't use your claude.ai login: auth … best-practices see the edit
Confirmed since Anthropic's documentation has since written up --settings, on Claude Code changelog. * Fixed `/hooks` leaving out hooks given by `--settings` changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --settings, on Claude Code changelog.

See this entry in the whole of v2.1.326 →

Feedback