[BUG] Cannot disable auto updater without disabling auto updater

Resolved 💬 5 comments Opened Mar 19, 2025 by trevorwhitney Closed Mar 20, 2025

Environment

  • Platform (select one):
  • [X] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.19
  • Operating System: macOS 15.3.2
  • Terminal: Ghostty

Bug Description

I have claude code installed in a way that it cannot auto update, which is fine. I use claude code in my editor, and don't like being bothered everytime with the "Enable automatic update?" message. To prevent this, I have some setup code in my editor to run claude config set -g autoUpdaterStatus disabled. The problem with this is that this command cannot be run in a non-interactive fashion, as it also dispalys the "Enable automatic update?" message before actually setting the config, so it ends up hanging when run non-interactively.

Steps to Reproduce

  1. Install claude-code in a way that it does not have the correct permission to update
  2. Try to run claude config set -g autoUpdaterStatus disabled non-interactively
  3. That command will never return because it's waiting for input in the "Enable automatic updates?" window

Expected Behavior

I wouldn't expect claude-code to hang asking me if I want to enable automatic updates when running a command that should explicitly disable automatic updates.

Actual Behavior

The command hangs, because it's waiting for additional user input.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗