claude-code - 💡(How to fix) Fix [DOCS] Update docs missing `DISABLE_UPDATES` env var behavior [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52192Fetched 2026-04-23 07:34:09
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Code Example

> {
>   "env": {
>     "DISABLE_AUTOUPDATER": "1"
>   }
> }
>
RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/setup

Section/Topic

Auto-updates, Disable auto-updates, and Update manually

Current Documentation

The docs currently say:

Set DISABLE_AUTOUPDATER to "1" in the env key of your settings.json file:

{
  "env": {
    "DISABLE_AUTOUPDATER": "1"
  }
}

Update manually

To apply an update immediately without waiting for the next background check, run:

claude update

Related pages also still document the older behavior:

DISABLE_AUTOUPDATER | Set to 1 to disable automatic updates

and:

To disable all automatic updates entirely for both Claude Code and all plugins, set the DISABLE_AUTOUPDATER environment variable.

What's Wrong or Missing?

Changelog v2.1.118 says: Added DISABLE_UPDATES env var to completely block all update paths including manual claude update — stricter than DISABLE_AUTOUPDATER.

The current docs still describe DISABLE_AUTOUPDATER as the relevant control and still tell users to run claude update manually. That leaves three gaps:

A. Missing new env var

DISABLE_UPDATES is not documented in the environment variable reference or setup guide.

B. Old behavior is still presented as current

The setup and plugin docs imply DISABLE_AUTOUPDATER is the strongest update-disabling control, but v2.1.118 adds a stricter variable.

C. Manual update path is undocumented under the new rule

The docs still present claude update as available even when administrators may now block all update paths with DISABLE_UPDATES.

Suggested Improvement

Update the update-management docs to distinguish the two variables clearly:

  1. Add DISABLE_UPDATES to https://code.claude.com/docs/en/env-vars.
  2. Update https://code.claude.com/docs/en/setup to explain:
  • DISABLE_AUTOUPDATER=1 disables background/automatic updates
  • DISABLE_UPDATES=1 disables all update paths, including manual claude update
  1. Update https://code.claude.com/docs/en/discover-plugins so it no longer describes DISABLE_AUTOUPDATER as the setting that disables updates entirely.
  2. Add a note to https://code.claude.com/docs/en/cli-reference that claude update is blocked when DISABLE_UPDATES=1 is set.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageContext
https://code.claude.com/docs/en/setupMain auto-update, disable, and manual update guidance
https://code.claude.com/docs/en/env-varsEnvironment variable reference still lists DISABLE_AUTOUPDATER but not DISABLE_UPDATES
https://code.claude.com/docs/en/discover-pluginsStates DISABLE_AUTOUPDATER disables all automatic updates entirely
https://code.claude.com/docs/en/cli-referenceDocuments claude update with no note about DISABLE_UPDATES

Total scope: 4 pages affected

Source: Changelog v2.1.118

Exact changelog entry: Added DISABLE_UPDATES env var to completely block all update paths including manual claude update — stricter than DISABLE_AUTOUPDATER

extent analysis

TL;DR

Update the documentation to reflect the new DISABLE_UPDATES environment variable and its stricter update control compared to DISABLE_AUTOUPDATER.

Guidance

  • Review and update the environment variable reference at https://code.claude.com/docs/en/env-vars to include DISABLE_UPDATES.
  • Clarify the distinction between DISABLE_AUTOUPDATER and DISABLE_UPDATES in the setup guide at https://code.claude.com/docs/en/setup.
  • Modify the plugin documentation at https://code.claude.com/docs/en/discover-plugins to remove the implication that DISABLE_AUTOUPDATER is the setting that disables updates entirely.
  • Add a note to the CLI reference at https://code.claude.com/docs/en/cli-reference indicating that claude update is blocked when DISABLE_UPDATES=1 is set.

Example

No code snippet is necessary for this documentation update, but an example of the corrected documentation for https://code.claude.com/docs/en/setup could include:

{
  "env": {
    "DISABLE_AUTOUPDATER": "1" // Disables background/automatic updates
  }
}

And an explanation that setting DISABLE_UPDATES=1 would disable all update paths, including manual updates via claude update.

Notes

The updates should ensure that users understand the difference between DISABLE_AUTOUPDATER and DISABLE_UPDATES, and how each affects the update process. This change impacts four pages and is based on the changelog entry for version 2.1.118.

Recommendation

Apply the suggested improvements to update the documentation accurately, ensuring that users can effectively manage updates with the new DISABLE_UPDATES environment variable.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Update docs missing `DISABLE_UPDATES` env var behavior [1 participants]