[BUG] Ignores disabling auto updates
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude ignores disabling auto-updates.
❯ grep -A 6 env ~/.config/claude/settings.json
"env": {
"DISABLE_AUTOUPDATER": 1,
"DISABLE_BUG_COMMAND": 1,
"DISABLE_ERROR_REPORTING": 1,
"DISABLE_TELEMETRY": 1
},
"autoUpdates": false,
Searched for similiar issues but came up on any actual solutions that work
https://github.com/anthropics/claude-code/issues/10764 -> recommends "DISABLE_AUTOUPDATER": 1 -> doesn't work as seen above
https://github.com/anthropics/claude-code/issues/5969 -> recommends "claude config set -g autoUpdates false" doesn't work
https://github.com/anthropics/claude-code/issues/5753 -> mentions "claude config set -g autoUpdates disabled" doesnt work
https://github.com/anthropics/claude-code/issues/3479 -> mentions claude config set -g autoUpdates false , claude config get -g autoUpdates, claude config get autoUpdates and again DISABLE_AUTOUPDATER none work.
Docs at https://code.claude.com/docs/en/settings mention DISABLE_AUTOUPDATER": 1 -> doesn't work
What Should Happen?
- Don't auto-update
Error Messages/Logs
Steps to Reproduce
❯ npm i -g @anthropic-ai/claude-code
❯ greadlink -f (which claude)
/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js
Disable auto updates via settings file
❯ grep -A 6 env ~/.config/claude/settings.json
"env": {
"DISABLE_AUTOUPDATER": 1,
"DISABLE_BUG_COMMAND": 1,
"DISABLE_ERROR_REPORTING": 1,
"DISABLE_TELEMETRY": 1
},
"autoUpdates": false,
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.36
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
5 Comments
Even claude doctor says it's allowed to update
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
#10764
#5969
#9327
All recommend to use
DISABLE_AUTOUPDATER. Which as outlined in the description and follow up withclaude doctordoes NOT work.It only seems to work when the shell provides
DISABLE_AUTOUPDATERbut NOT when it's set as part of claude'ssettings.json. This is at minimum a documentation issue.Look like you're using a custom path for your user-level settings (
~/.config/claude/settings.json), instead of the default (~/.claude/settings.json). For this file to be picked up, you'll need to either passCLAUDE_CONFIG_DIRor use the default location.You can also confirm whether these settings are picked up by checking
/status, which enumerates the "Setting sources".This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.