[DOCS] Claude cli on mac prompts to update via brew but is checking current version via npm

Resolved 💬 2 comments Opened Mar 18, 2026 by maxl-trilogy Closed Apr 16, 2026

Documentation Type

Incorrect/outdated documentation

Documentation Location

claude cli main inerface

Section/Topic

either fix the prompt or change where the update is being checked

Current Documentation

<img width="1333" height="652" alt="Image" src="https://github.com/user-attachments/assets/2a0f8cf5-c5c5-4517-91f6-aba16996cfed" />

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
? for shortcuts Update available! Run: brew upgrade claude-code

Resume this session with:
claude --resume a95567c2-af05-486c-ab1e-f4c7459ee1b9
➜ tc-consumer-app git:(main) ✗ brew upgrade claude-code
Warning: Not upgrading claude-code, the latest version is already installed
➜ tc-consumer-app git:(main) ✗ claude-code
zsh: command not found: claude-code
➜ tc-consumer-app git:(main) ✗ claude
▐▛███▜▌ Claude Code v2.1.77
▝▜█████▛▘ Opus 4.6 (1M context) with high effort · Claude Team
▘▘ ▝▝ ~/Code/tc-consumer-app

↑ Opus now defaults to 1M context · 5x more room, same pricing

❯ is my version of claude out of date?

⏺ Bash(claude --version 2>/dev/null || echo "not found")
⎿  2.1.77 (Claude Code)

⏺ Bash(npm view @anthropic-ai/claude-code version 2>/dev/null)
⎿  2.1.78

⏺ You're on 2.1.77, and the latest is 2.1.78 — so you're just one patch behind. Pretty much up to date, but you can update with:

npm update -g @anthropic-ai/claude-code

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
? for shortcuts Update available! Run: brew upgrade claude-code

What's Wrong or Missing?

it says to use brew to upgrade to latest version but the latest version is only on npm

Suggested Improvement

either change the prompt to say use npm to upgrade or only check if my version matches the latest on brew

Impact

Medium - Makes feature difficult to understand

Additional Context

_No response_

View original on GitHub ↗

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