Skip to content

[BUG] claude crashed in terminal, and i'm getting the error zsh: command not found: claude when i try to reopen by running claude #471

Description

@mag-e-williams

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other:
  • Claude CLI version:
  • Operating System:
  • Terminal:

Bug Description

Claude was working well, and then all of the sudden it crashed, and now when i try to run claude in my terminal to reopen the interface, im getting zsh: command not found: claude

Expected Behavior

open the claude code interface

Actual Behavior

zsh: command not found: claude

Additional Context

I;ve tried to uninstall and re-install the npm package, but im gettiing the following error when i try to uninstall

npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:^

npm ERR! A complete log of this run can be found in: /Users/maggiewilliams/.npm/_logs/2025-03-13T20_04_40_485Z-debug-0.log
maggiewilliams@Maggies-MacBook-Pro-5 clay-base % npm uninstall @anthropic-ai/claude-code
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:^

Metadata

Metadata

Labels

bugSomething isn't workingplatform:macosIssue specifically occurs on macOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions