DISABLE_AUTOUPDATER vs DISABLE_UPDATES
People think DISABLE_AUTOUPDATER stops all updates. It only stops the ones in the background, so anyone can still run claude update. DISABLE_UPDATES blocks every update, by hand too, and claude install as well. A person who wants to update on their own day wants the first. A company that ships its own tested version wants the second.
DISABLE_AUTOUPDATER
Set to 1, it stops updates in the background. Updating by hand still works.
DISABLE_AUTOUPDATER set to 1 stops Claude Code from updating itself in the background. You can still run claude update by hand. To block that as well, use DISABLE_UPDATES.
DISABLE_UPDATES
Set to 1, it blocks every update, even by hand.
DISABLE_UPDATES set to 1 blocks every update. That covers the one in the background, and claude update and claude install by hand. Use it when your company ships Claude Code its own way. It is stricter than DISABLE_AUTOUPDATER.
In one line
- DISABLE_AUTOUPDATER
- Set to 1, it stops updates in the background. Updating by hand still works.
- DISABLE_UPDATES
- Set to 1, it blocks every update, even by hand.