Skip to content
BENIBIX Learn

DISABLE_UPDATES

AI⌨️ Claude CodeConfiguration

Also known as DISABLE_UPDATES=1

Set to 1, it blocks every update, even by hand.

Think of it like

It is like you lock the app store. Then no one can update the app.

Example

Jack's company tests each new version before it reaches staff. He sets this for everyone, so no one jumps ahead of the tested one.

Why it matters

A firm can keep each laptop on the version it has checked.

Definition

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.

Example code

bash
export DISABLE_UPDATES=1
claude update   # refused
Lock the version your team ships.
The right column: nothing updates.

Common mistake

Setting it on a personal laptop. You then cannot update until you unset it.

Key takeaways

  1. 1
    All updates blocked. Auto and by hand.
  2. 2
    Stricter. Than the autoupdater one.
  3. 3
    For company rollouts. Own channels.

Compare