[BUG] Installer getting stuck at cleaning old NPM installations
Status Fixed / completed
Maintainer reply None cached
Activity 10 comments · opened Aug 5, 2025 · closed Aug 22, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: wont install
- Operating System: macOS 15.6
- Terminal: warp and terminal result in same
Bug Description
Trying to run the curl install script results in a message that appears stuck "Cleaning up old NPM installations"
Steps to Reproduce
- Run the install from the website:
curl -fsSL claude.ai/install.sh | bash
Expected Behavior
Claude code installs
Actual Behavior
Stuck
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
10 Comments
I should note i've never installed the npm version, I dont even have npm. I get this message on a fresh machine
Found 3 possible duplicate issues:
If your issue is a duplicate, please close it and 👍 the existing issue instead.
🤖 Generated with Claude Code
Same issue here.
Tried installing it inside a Docker devcontainer for .NET 9 (
mcr.microsoft.com/devcontainers/dotnet:1-9.0-noble), which is based on Ubuntu 24.04, and it ended up stuck atCleaning up old npm installations....To replicate:
docker run -it mcr.microsoft.com/devcontainers/dotnet:1-9.0-noble /bin/bashsudo -i -u vscodecurl -fsSL claude.ai/install.sh | bash+1
Happens to me inside a fresh
debian:latestdocker container. The system never touched npm whatsoever.Steps to reproduce:
Facing the same problem on MacOS.
To reproduce:
curl -fsSL https://claude.ai/install.sh | bashSame issue here, the installation procedure is stuck at:
Seem to currently be broken on latest. Altho installing fixed version (
curl -fsSL https://claude.ai/install.sh | bash -s 1.0.58) doesn't work either.I tried to installed the stable version - also not working :(
Fixed in 1.0.70
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.