Claude needs to update and doesn't work when I do

Describe the Bug

I’m trying to run Claude in Cursor. It says Claude needs to update, which I do. Even after the update is successful, I’m not able to run Claude.

Steps to Reproduce

I’m trying to run Claude in Cursor. When I enter claude in the terminal I get this:

It looks like your version of Claude Code (1.0.22) needs an update.
A newer version (1.0.24 or higher) is required to continue.

To update, please run:
claude update

This will ensure you have access to the latest features and improvements.

I run claude update in the terminal and I get this:

Current version: 1.0.22
Checking for updates…
New version available: 1.0.34 (current: 1.0.22)
Installing update…
Using global installation update method…
Successfully updated from 1.0.22 to version 1.0.34

I enter claude again and I get this:

It looks like your version of Claude Code (1.0.22) needs an update.
A newer version (1.0.24 or higher) is required to continue.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6 (Universal)
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:16:57.571Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

currently struggling with this exact error - even when I’m not in Cursor.

Hey, the Claude Code extension is available on the extension marketplace. Remove the old one and install the new one from the marketplace tab. Some updates to the extension will occur with delays, the latest version available on the official VSCode marketplace is 1.0.31, while on OpenVSX it is 1.0.29.

Hey I had the same issue, I had to NPM uninstall claude code and npm reinstall from the terminal. After that it worked!
npm uninstall -g @anthropic-ai/claude-code
npm install -g @anthropic-ai/claude-code