"Update available! Run: brew upgrade claude-code" shown even when already on latest version (Homebrew cask install)

Status Fixed / completed
Reported on v2.1.66
Maintainer reply None cached
Activity 3 comments · opened Mar 4, 2026 · closed Mar 4, 2026

When installed via Homebrew cask (brew install claude-code), the status bar permanently shows "Update available! Run: brew upgrade claude-code" even when the latest version is already installed.

Steps to reproduce:

  1. Install via brew install claude-code
  2. Run brew upgrade claude-code → "Warning: Not upgrading claude-code, the latest version is already installed"
  3. brew outdated shows nothing
  4. Status bar still shows the update nag

Expected: No update notification when already on latest version.

Root cause (suspected): The update checker appears to compare against the npm registry version rather than the Homebrew cask version, causing a false positive for cask installs.

Environment:

  • claude-code 2.1.66 (Homebrew cask)
  • macOS Darwin 25.3.0

View original on GitHub ↗

3 Comments

github-actions[bot] · 5 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/11405
  2. https://github.com/anthropics/claude-code/issues/23633
  3. https://github.com/anthropics/claude-code/issues/18055

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

pdonorio · 5 months ago
github-actions[bot] · 5 months ago

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.