[BUG] The global configuration for autoUpdates is not applied.
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [x] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.38
- Operating System: macOS 15.5
- Terminal: vscode terminal
Bug Description
According to the Claude Code settings, I set autoUpdates to false with the command below and confirmed that it was indeed set to false:
claude config set -g autoUpdates false
claude config list -g
>>> "autoUpdates": "false"
However, when I launch Claude Code with the env CLAUDE_CONFIG_DIR=$HOME/.claude claude command, it still performs an automatic update and switches to version 1.0.41.
I also tried disabling automatic updates by setting the environment variable DISABLE_AUTOUPDATER=1, but the update still runs.
Also, I have the command env CLAUDE_CONFIG_DIR=$HOME/.claude claude set up as an alias in my .zshrc, but whenever I start the claude command, that alias gets deleted. This is a serious bug.
Steps to Reproduce
npm install -g @anthropic-ai/claude-code@1.0.38- claude config set -g autoUpdates false
- env CLAUDE_CONFIG_DIR=$HOME/.claude claude
Expected Behavior
<!-- What you expected to happen -->
Auto updates do not run.
Alias in my .zshrc is not deleted.
Actual Behavior
Auto updates run and switches to version 1.0.41.
Alias in my .zshrc is deleted.
9 Comments
Thanks, fixed in 1.0.48
@wolffiex
I updated to version
1.0.48and disabledautoUpdates, but claude code still updates automatically whenever I launch it.Are there any other settings I need to adjust to stop it from updating automatically?
I have the same issue as @kitamura-caddi with version 1.0.53
@yuhua99
The autoUpdates setting doesn’t always stick across environments. Likely stale cache/config from an older install.
For now, I delete all claude code data and reinstall.
To pin 1.0.54 I had to
export DISABLE_AUTOUPDATER=1to make claude stop updating self to 1.0.55 on launchautoUpdatesseems to beautoUpdaterStatusnow, but none of them work, and neither doesexport DISABLE_AUTOUPDATER=1.claudeinsta-exits complaining about newer version, the migration needs manual fixing of some script assumptions.autoUpdatesis the correct config param, but it was getting clobbered under some circumstances. the fix should go out tomorrow.We've deprecated config
autoUpdates- can you try settingDISABLE_AUTOUPDATERas an env var or viasettings.json?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.