[BUG] Unable to install claude code cli. Has repo changed?

Resolved 💬 3 comments Opened Apr 4, 2025 by rnakhan Closed Apr 5, 2025

Environment

  • Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->

MacOS Sequaia 15.3.2
Node v20.11.0
npm 10.2.4

  • Terminal: <!-- e.g. iTerm2, Terminal App -->

Bug Description

<!-- A clear and concise description of the bug -->

Steps to Reproduce

npm i -g anthropic-ai/claude-code

Expected Behavior

<!-- What you expected to happen -->
Installation

Actual Behavior

<!-- What actually happened -->
npm ERR! 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.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
MacOS Sequaia 15.3.2
Node v20.11.0
npm 10.2.4

View original on GitHub ↗

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