claude install reports installing v2.1.25 but actually keeps v2.1.23

Status Closed — not planned
Reported on v2.1.25
Maintainer reply None cached
Activity 4 comments · opened Jan 30, 2026 · closed Feb 28, 2026

Bug Description

claude install reports installing version 2.1.25 but the actual installed version remains 2.1.23.

Steps to Reproduce

  1. Run claude install — the installer reports installing version 2.1.25
  2. Run claude --version — output shows 2.1.23
  3. Run claude — confirms running 2.1.23
  4. Run npm install -g @anthropic-ai/claude-code@latest — this correctly installs 2.1.25
  5. Run claude --version — now correctly shows 2.1.25
  6. Claude suggests running claude install to update
  7. Run claude install again — installer reports installing 2.1.25 but it downgrades back to 2.1.23

Expected Behavior

claude install should install the version it reports (2.1.25) and claude --version should reflect that version after installation.

Actual Behavior

claude install claims to install 2.1.25 but the binary remains at 2.1.23. Only npm install -g @anthropic-ai/claude-code@latest correctly installs the latest version, but running claude install afterwards reverts to the old version.

Workaround

Use npm install -g @anthropic-ai/claude-code@latest instead of claude install.

Environment

  • OS: Windows
  • Node.js installed via npm
  • Claude Code versions involved: 2.1.23 / 2.1.25

View original on GitHub ↗

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