Preflight Checklist
What's Wrong?
Everytime there is an upgrade to @anthropic-ai/claude-code I have an error showing that upgrade failed.
I spuspect it is because it is trying to upgrade using npm -g and I have it installed via pnpm -g
What Should Happen?
Automatic upgrade shouldn fail!
Error Messages/Logs
Steps to Reproduce
pnpm install -g @anthropic-ai/claude-code
claude
# wait for new version to see error
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.53 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
terminal inside Zed
Preflight Checklist
What's Wrong?
Everytime there is an upgrade to @anthropic-ai/claude-code I have an error showing that upgrade failed.
I spuspect it is because it is trying to upgrade using npm -g and I have it installed via pnpm -g
What Should Happen?
Automatic upgrade shouldn fail!
Error Messages/Logs
Steps to Reproduce
pnpm install -g @anthropic-ai/claude-code claude # wait for new version to see errorClaude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.53 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
terminal inside Zed