[BUG] Unable to install using npm install
Resolved 💬 2 comments Opened Apr 6, 2025 by Asokan-Pichai Closed Apr 7, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->Claude code
- Claude CLI version: <!-- output of
claude --version--> - Operating System: Debian 12
- Terminal: Standard Gnome terminal
Bug Description
Running the npm install command gives error
Steps to Reproduce
- GO to terminal
- Type npm install -g anthropic-ai/claude-code
Expected Behavior
To install claude-code
Actual Behavior
Error!
code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/anthropic-ai/claude-code.git
npm ERR! ERROR: Repository not found.
npm ERR! fatal: Could not read from remote repository.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗