🌐
npm
npmjs.com › package › @anthropic-ai › claude-code
@anthropic-ai/claude-code - npm
Install Claude Code: npm install -g @anthropic-ai/claude-code · Navigate to your project directory and run claude. We welcome your feedback. Use the /bug command to report issues directly within Claude Code, or file a GitHub issue.
      » npm install @anthropic-ai/claude-code
    
Published   Dec 22, 2025
Version   2.0.76
Author   Anthropic
🌐
npm
npmjs.com › package › @anthropic-ai › claude-agent-sdk
@anthropic-ai/claude-agent-sdk - npm
Create autonomous agents that can understand codebases, edit files, run commands, and execute complex workflows. Learn more in the official documentation. Install the Claude Agent SDK: npm install @anthropic-ai/claude-agent-sdk ·
      » npm install @anthropic-ai/claude-agent-sdk
    
Published   Dec 22, 2025
Version   0.1.76
Author   Anthropic
🌐
npm
npmjs.com › package › claude-ai
claude-ai - npm
This is not the official Claude Code NPM package. The official package is @anthropic-ai/claude-code, available at https://www.npmjs.com/package/@anthropic-ai/claude-code.
      » npm install claude-ai
    
Published   Jun 13, 2025
Version   1.2.3
🌐
Claude
code.claude.com › docs › en › setup
Set up Claude Code - Claude Code Docs
Ask AI · npm install -g @anthropic-ai/claude-code · Some users may be automatically migrated to an improved installation method. After the installation process completes, navigate to your project and start Claude Code: Copy · Ask AI · cd ...
🌐
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 - If you prefer using npm (Node Package Manager), you can install Claude Code globally. This method requires Node.js 18 or higher. ... The -g flag installs the package globally, making claude available as a command anywhere in your terminal.
🌐
GitHub
github.com › anthropics › claude-code
GitHub - anthropics/claude-code: Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
irm https://claude.ai/install.ps1 | iex · NPM: npm install -g @anthropic-ai/claude-code · NOTE: If installing with NPM, you also need to install Node.js 18+ Navigate to your project directory and run claude.
Starred by 48.5K users
Forked by 3.4K users
Languages   Shell 46.4% | Python 33.8% | TypeScript 12.9% | PowerShell 4.7% | Dockerfile 2.2%
🌐
GitHub
github.com › anthropics › claude-code › issues › 125
Trying to npm install -g @anthropic-ai/claude-code on an AMD Ryzen based system · Issue #125 · anthropics/claude-code
February 26, 2025 - I have tried this on windows 11 powershell and also WSL2 / Ubunut. I have an AMD Ryzen based Windows 11 environment and when I try to: npm install -g @anthropic-ai/claude-code I get the following error: npm error code EBADPLATFORM npm er...
Published   Feb 26, 2025
Find elsewhere
🌐
Reddit
reddit.com › r/anthropic › claude artifacts locally with npm package
r/Anthropic on Reddit: Claude Artifacts Locally with NPM package
June 25, 2024 - Its on NPM at: https://www.npmjs.com/package/claude-tools · Thanks, and let me know if there are any features you want me to add. ... Edit: The recent update to shadcn broke a lot of this. I will fix it eventually. ... Nobody's responded to this post yet. Add your thoughts and get the conversation going. Built a directory of Claude Code agent prompts, copy/paste ready ... This is a Claude by Anthropic discussion subreddit to help you make a fully informed decision about how to use Claude and Claude Code to best effect for your own purposes.
🌐
GitHub
github.com › anthropics › claude-agent-sdk-typescript
GitHub - anthropics/claude-agent-sdk-typescript
Create autonomous agents that can understand codebases, edit files, run commands, and execute complex workflows. Learn more in the official documentation. Install the Claude Agent SDK: npm install @anthropic-ai/claude-agent-sdk ·
Starred by 513 users
Forked by 54 users
🌐
Steve Kinney
stevekinney.com › courses › ai-development › installing-claude-code
Installing and Setting Up Claude Code | Developing with AI Tools | Steve Kinney
... Install Node.js: If you don’t have Node.js 18+ or need to update, use your distribution’s package manager or Node Version Manager (nvm). Install Claude Code: Open your terminal and run the command: npm install -g @anthropic-ai/claude-code.
🌐
npm
npmjs.com › package › @anthropic-ai › sdk
@anthropic-ai/sdk - npm
import Anthropic from 'npm:@anthropic-ai/sdk'; const client = new Anthropic(); const response = await client.beta.messages.create({ max_tokens: 1024, model: 'claude-sonnet-4-5-20250929', messages: [ { role: 'user', content: [ { type: 'text', text: "What's 4242424242 * 4242424242?.", }, ], }, ], tools: [ { name: 'code_execution', type: 'code_execution_20250522', }, ], betas: ['code-execution-2025-05-22'], });
      » npm install @anthropic-ai/sdk
    
Published   Dec 06, 2025
Version   0.71.2
Author   Anthropic
🌐
Claude Docs
platform.claude.com › docs › en › agent-sdk › migration-guide
Migrate to Claude Agent SDK - Claude Docs
npm uninstall @anthropic-ai/claude-code · 2. Install the new package: npm install @anthropic-ai/claude-agent-sdk ·
🌐
GitHub
github.com › ruvnet › claude-flow › issues › 116
Documentation: Clarify Prerequisite and Setup for `@anthropic-ai/claude-code` · Issue #116 · ruvnet/claude-flow
July 5, 2025 - 1. **Install Claude Code:** ```bash npm install -g @anthropic-ai/claude-code ``` 2. **Authenticate:** Run the setup command and provide your Anthropic API key when prompted.
Published   Jul 05, 2025
🌐
Ndurner
ndurner.github.io › claude-code
Claude Code | Nils Durner’s Blog
July 17, 2025 - Anthropic «Claude Code» is another AI-agent for AI-assisted coding (or “vibe-coding”). This competes with OpenAI Codex CLI in that it has a text-oriented user interface, but also integrates somewhat with Visual Studio Code: run it in the Terminal, and the changes it proposes are shown in the code pane as side-by-side diffs. The official setup instructions start off with installing it globally via npm...
🌐
AI Free API
aifreeapi.com › en › posts › install-claude-code
How to Install Claude Code 2025: Complete Setup Guide for Windows, Mac & Linux (Fix All Errors) - npm Install, WSL Setup, API Keys & Cost Optimization Guide | AI Free API
January 28, 2025 - # Install globally sudo npm install -g @anthropic-ai/claude-code # Fix npm permissions if needed mkdir ~/.npm-global npm config set prefix '~/.npm-global' echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc source ~/.bashrc
🌐
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 - Currently available as a beta research preview, Claude Code is built on Anthropic's powerful Claude 3.7 Sonnet model, offering sophisticated reasoning capabilities for coding tasks. Before we dive into the installation process, ensure your system meets these requirements: ... Claude Code requires Node.js 18 or higher. If you don't have it installed or have an older version, follow these steps: ... # Remove any old Node.js installations (optional) sudo apt remove nodejs npm # Install Node.js 20.x (LTS as of 2025) curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt install -y nodejs # Verify installation node --version # Should show v20.x.x npm --version # Should show 10.x.x or higher