What
Claude Code can now automatically run supported package-manager updates when a newer version is available.
Usage
CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE=1 claudeDetails
- When enabled, Claude Code can run update commands for supported package managers instead of only telling you what command to run.
- Homebrew uses
brew upgrade --cask .... - Windows winget uses
winget.exe upgrade --id Anthropic.ClaudeCode --exact --silent --disable-interactivity. - The UI reports progress with messages like
Updating via ..., success with✓ Update installed · Restart to apply, and falls back to manual instructions if auto-update fails. - Manual update guidance now also recognizes
mise upgrade claude.
Evidence
Auto-update gate and commands (search for "CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE", "--disable-interactivity", and "✓ Update installed")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Added CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE: when set on Homebrew or WinGet installations, Claude Code runs the upgrade command in the…