» npm install @anthropic-ai/claude-code
New to Claude Code - why are there 3 different ways to install this thing?
NPM installation vs Binary setup for Claude Code - which do you prefer?
Bug: claude command not found after npm install -g on macOS with Homebrew due to incorrect symlink
Claude codeoverview on npm is the most phenomenal thing in AI yet
Videos
Hey everyone, I'm new to Claude Code and just spent an hour in installation hell. I'm on a Mac
So apparently, there are THREE ways to install this:
npm install:
npm install -gu/anthropic-ai/claude-codeDocs say this is "standard installation"
Gets a permission denied error
Docs then warn "DO NOT use sudo"
curl installer:
curl -fsSLhttps://claude.ai/install.sh| bashCalled "beta" but actually works
Buried in a random troubleshooting article
Installs to
~/.local/bin(need to fix PATH)
sudo npm: sudo npm install -g u/anthropic-ai/claude-code
What actually makes npm work
But docs specifically say DON'T do this
"Security risks" apparently
How did you all install this?
Also, why do they recommend npm when they literally have a note saying "Claude Code has a native installation that doesn't depend on npm" - THEN MAKE THAT THE DEFAULT??
I'm not even mad, this is hilarious. Just want to know if I'm missing something obvious here
read it here
have been using it for 10 mins... this will change the world!
Hey everyone,
Since Claude Code has been around for a while now and many of us are already familiar with Claude Sonnet 3.7, I wanted to share a quick step-by-step guide for those who haven’t had time to explore it yet.
This guide sums up everything you need to know about Claude Code, including:
How to install and set it up
The benefits and when to use it
A demo of its capabilities in action
Some Claude Code essential commands
I think Claude Code is a better alternative to coding assistants like Cursor and Bolt, especially for developers who want an AI that really understands the entire codebase instead of just suggesting lines.
https://medium.com/p/how-to-install-and-use-claude-code-the-new-agentic-coding-tool-d03fd7f677bc?source=social.tw