🌐
Claude
docs.claude.com › en › docs › claude-code › setup
Set up Claude Code - Claude Code Docs
Claude Code automatically keeps itself up to date to ensure you have the latest features and security fixes. Update checks: Performed on startup and periodically while running · Update process: Downloads and installs automatically in the background
🌐
ClaudeLog
claudelog.com › home › faqs › where is claude code installed
Where is Claude Code Installed | ClaudeLog
Claude Code installs globally via npm with configuration files in ~/.claude/settings.json and project-level settings for team and personal use.
🌐
Vibecodingwithfred
vibecodingwithfred.com › home › blog › claude code installation guide: using irm script, npm setup, and https://claude.ai/install.ps1 script
Claude Code Installation Guide: Using irm Script, npm Setup, and https://claude.ai/install.ps1 Script | Vibe Coding With Fred
1 month ago - The -g flag installs the package globally, making claude available as a command anywhere in your terminal. The package @anthropic-ai/claude-code is the official npm package maintained by Anthropic.
🌐
Claude
claude.ai › public › artifacts › d5297b60-4c2c-4378-879b-31cc75abdc98
Complete Claude Code Installation Guide for Windows | Claude
~/.npm-global npm config set prefix '~/.npm-global' echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc source ~/.bashrc ... # Install Claude Code globally npm install -g @anthropic-ai/claude-code # Verify installation claude ...
🌐
GitHub
github.com › anthropics › claude-code › issues › 3838
[BUG] claude CLI Not Recognized After Global Installation on Windows · Issue #3838 · anthropics/claude-code
July 17, 2025 - The documentation says that after installing the Claude CLI globally via: npm install -g @anthropic-ai/claude-code
Published   Jul 17, 2025
🌐
Skywork
skywork.ai › home › getting started with claude code plugin: installation, setup, and common pitfalls
Getting Started with Claude Code Plugin: Beginner Installation & Setup Guide
October 14, 2025 - Install the official CLI globally with npm. Avoid using sudo; it can create permission problems and make upgrades painful later. # macOS, Linux, WSL, or Windows (Node/npm installed) npm install -g @anthropic-ai/claude-code
🌐
Synapticlabs
blog.synapticlabs.ai › claude-code-for-windows
Claude Code for Windows
June 16, 2025 - Create a directory for global npm ... Install a simple global package to verify everything works: npm install -g cowsay cowsay "Hello Linux World!"...
🌐
Claude
claude.ai › public › artifacts › 03a4aa0c-67b2-427f-838e-63770900bf1d
Claude Code Installation Guide for Windows 11
The -g flag means "globally" - install this for use anywhere on the system, not just in a specific project. The @anthropic-ai/claude-code is the official package name - the @anthropic-ai part is Anthropic's namespace on npm (like a username), ensuring you're getting the authentic package, not ...
Find elsewhere
🌐
Reddit
reddit.com › r/chatgptcoding › how to install and use claude code, maybe the best ai coding tool right now?
r/ChatGPTCoding on Reddit: How to Install and Use Claude Code, Maybe the Best AI Coding Tool Right Now?
February 26, 2025 -

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

🌐
iTechs Online
itecsonline.com › post › how-to-install-claude-code-on-windows
How To Install Claude Code on Windows: Complete Guide 2025 | Blog // ITECS
July 30, 2025 - mkdir -p ~/.npm-global npm config set prefix ~/.npm-global echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc source ~/.bashrc ... ⚠️ Important: Do NOT use sudo when installing Claude Code.
🌐
iTechs Online
itecsonline.com › post › how-to-install-claude-code-on-ubuntu-linux-complete-guide-2025
How to Install Claude Code on Ubuntu Linux: Complete Guide 2025 | Blog // ITECS
July 30, 2025 - To avoid permission issues, set up npm to install global packages in your user directory: ... Important: Do NOT use sudo when installing Claude Code. This can lead to permission issues and security risks.
🌐
Micro
novistopheles.micro.blog › 2025 › 10 › 21 › installing-claude-codeedited.html
Installing Claude Code | Novistopheles
4. Install Claude Code globally · Use npm to install Claude Code: npm install -g @anthropic-ai/claude-code · 5. Navigate to your project directory and run Claude Code · cd ~/agentwork claude · 6. Authenticate on first run · On first run, ...
🌐
Reddit
reddit.com › r/claudeai › new to claude code - why are there 3 different ways to install this thing?
r/ClaudeAI on Reddit: New to Claude Code - why are there 3 different ways to install this thing?
August 27, 2025 -

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:

  1. npm install: npm install -g u/anthropic-ai/claude-code

    • Docs say this is "standard installation"

    • Gets a permission denied error

    • Docs then warn "DO NOT use sudo"

  2. curl installer: curl -fsSL https://claude.ai/install.sh | bash

    • Called "beta" but actually works

    • Buried in a random troubleshooting article

    • Installs to ~/.local/bin (need to fix PATH)

  3. 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

🌐
GitHub
github.com › ruvnet › claude-flow › wiki › Installation-Guide
Installation Guide · ruvnet/claude-flow Wiki · GitHub
# 1. Install Claude Code globally npm install -g @anthropic-ai/claude-code # 2.
Author   ruvnet
🌐
Claude Fast
claudefa.st › blog › guide › installation-guide
Installation Guide | Claude Fast
7 hours ago - npm install -g @anthropic-ai/claude-code # If you see "command not found", fix PATH: echo 'export PATH="$(npm config get prefix)/bin:$PATH"' >> ~/.zshrc source ~/.zshrc claude --version ...
🌐
GitHub
gist.github.com › gregpriday › b86139e9428dd8f18edcb931659047b3
Install Claude Code · GitHub
Install Claude Code · Raw · setup-claude-code.sh · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.