Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Auto-update disable check reworked and can skip the package-manager check

The check for whether auto-updates are off was reworked and can now ignore the package-manager reason; DISABLE_UPDATES and DISABLE_AUTOUPDATER still apply

Group of 2 Under the hood Internal Changes
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release

Unclear It is not clear in which situations the extra reason is ignored.

What

Claude Code can update itself automatically. Environment variables, named settings your system passes to programs, can turn this off. This release changes the code that decides this:

  • DISABLE_AUTOUPDATER is now read through a new helper. The setting is used the same number of times as before, so this looks like a reorganisation rather than a change in behaviour.
  • CLAUDE_CODE_PROJECTS_SESSION is now read through another new helper, used as a way to override which session is used. This also looks like a reorganisation.
  • The check that decides whether updates are turned off gained a second option. When that option is set, an extra reason based on another environment variable linked to package-manager installs is ignored.
  • DISABLE_UPDATES and DISABLE_AUTOUPDATER still turn updates off in every case.

Why

If you installed Claude Code through a package manager, a tool that installs and updates software for you, automatic updates may now happen in cases where they used to be blocked. If you want to be sure updates stay off, set DISABLE_UPDATES or DISABLE_AUTOUPDATER.

Read from
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.

Confirmed since Anthropic's documentation has since written up DISABLE_AUTOUPDATER, on MCP, plugins, skills, and hooks. To stop these updates without those effects, set `DISABLE_AUTOUPDATER` to `1` in the `env` block of [Claude Code's managed settings](https://code.claude.com/docs/en/settings#settings-files). Where a user also runs Claude Code in a terminal… third-party/claude-desktop/extensions see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear in which situations the extra reason is ignored.
Anthropic's documentation agreesAnthropic's documentation has since written up DISABLE_AUTOUPDATER, on MCP, plugins, skills, and hooks.

See this entry in the whole of v2.1.331 →

Feedback