[BUG] claude upgrade reports incorrect upgraded version and incorrect target version - but still upgrades

Status Closed — duplicate
Reported on v2.1.96
Maintainer reply None cached
Activity 3 comments · opened Apr 12, 2026 · closed Apr 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

❯ claude --version                                                                                   ─╯
2.1.96 (Claude Code)

❯ claude upgrade                                                                                     ─╯
Current version: 2.1.96
Checking for updates to stable version...
New version available: 2.1.92 (current: 2.1.96)
Installing update...
Using global installation update method...
Successfully updated from 2.1.96 to version 2.1.92

❯ claude --version                                                                                   ─╯
2.1.104 (Claude Code)

What Should Happen?

It should show the actual version claude is upgrade to.

Error Messages/Logs

no error message, just the incorrect version is shown

Steps to Reproduce

> claude upgrade

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.96

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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