[DOCS] Update docs missing `DISABLE_UPDATES` env var behavior
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:
SetDISABLE_AUTOUPDATERto"1"in theenvkey of yoursettings.jsonfile: ``json { "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 to1to 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:
- Add
DISABLE_UPDATEStohttps://code.claude.com/docs/en/env-vars. - Update
https://code.claude.com/docs/en/setupto explain:
DISABLE_AUTOUPDATER=1disables background/automatic updatesDISABLE_UPDATES=1disables all update paths, including manualclaude update
- Update
https://code.claude.com/docs/en/discover-pluginsso it no longer describesDISABLE_AUTOUPDATERas the setting that disables updates entirely. - Add a note to
https://code.claude.com/docs/en/cli-referencethatclaude updateis blocked whenDISABLE_UPDATES=1is set.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/setup | Main auto-update, disable, and manual update guidance |
| https://code.claude.com/docs/en/env-vars | Environment variable reference still lists DISABLE_AUTOUPDATER but not DISABLE_UPDATES |
| https://code.claude.com/docs/en/discover-plugins | States DISABLE_AUTOUPDATER disables all automatic updates entirely |
| https://code.claude.com/docs/en/cli-reference | Documents 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
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗