Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 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
EnvironmentArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release

Unclear It has not been confirmed that either variable now behaves exactly as it did before.

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.

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 has not been confirmed that either variable now behaves exactly as it did before.

See this entry in the whole of v2.1.331 →

Feedback