npm
npmjs.com › package › @anthropic-ai › claude-code
@anthropic-ai/claude-code - npm
Start using @anthropic-ai/claude-code in your project by running `npm i @anthropic-ai/claude-code`. There are 179 other projects in the npm registry using @anthropic-ai/claude-code.
» npm install @anthropic-ai/claude-code
Published Dec 20, 2025
Version 2.0.75
Author Anthropic
Repository https://github.com/anthropics/claude-code
npm
npmjs.com › package › @anthropic-ai › claude-agent-sdk
@anthropic-ai/claude-agent-sdk - npm
SDK for building AI agents with Claude Code's capabilities. Programmatically interact with Claude to build autonomous agents that can understand codebases, edit files, and execute workflows..
» npm install @anthropic-ai/claude-agent-sdk
Published Dec 20, 2025
Version 0.1.75
Author Anthropic
Videos
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 47.7K users
Forked by 3.3K users
Languages Shell 46.4% | Python 33.8% | TypeScript 12.9% | PowerShell 4.7% | Dockerfile 2.2%
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
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
Reddit
reddit.com › r/claudeai › claude codeoverview on npm is the most phenomenal thing in ai yet
r/ClaudeAI on Reddit: Claude codeoverview on npm is the most phenomenal thing in AI yet
May 2, 2025 -
read it here
have been using it for 10 mins... this will change the world!
Top answer 1 of 4
39
Did you use AI to write this post? First, there's no such thing as "codeoverview". It's just called "Claude Code". The npm package is @anthropic-ai/claude-code. The page you linked to is an overview of the Claude Code app. Second, it's not nearly as world -changing as you describe. It does what other AI code tools do, but with a more streamlined UI (and by UI I mean the command line interface it provides). You'll still get the same overall results you get with Aider, Cursor, etc. It's great for toy projects and bootstrapping, but not so much for large complex projects.
2 of 4
26
It's amazing, it's like being in the future, like having a glimpse at what coding tools will be like 6 months from now. It's also insanely expensive to use. I had days at over $70. I've since switched to using cursor's agent mode, which isn't as good, but getting closer day by day (and massively less expensive). And also sometimes roo.
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 ...
Anthropic
anthropic.com › claude-code
Claude Code - AI coding agent for terminal & IDE | Claude
⎿ Bash(cd /Users/user/code/anthropic-quickstarts/financial-data-analyst && npm run build)… · ⎿ Done (2 tool uses · 41.3s) · ⏺ Now that we've fixed the issue, let's wrap this up with a commit: · ⏺ Bash(cd /Users/user/code/anthropic-quickstarts/financial-data-analyst && git commit -m "Fix unused fileData code in finance API route …
GitHub
github.com › anthropics › claude-code › issues › 996
[BUG] ✗ Auto-update failed · Try claude doctor or npm i -g @anthropic-ai/claude-code · Issue #996 · anthropics/claude-code
May 7, 2025 - Only solution has been to completely delete the claude code directory. ... % npm i -g @anthropic-ai/claude-code npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /Users/walt/.nvm/versions/node/v18.18.0/lib/node_modules/@anthropic-ai/claude-code npm ERR!
Published May 07, 2025
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
Reddit
reddit.com › r/anthropic › claude artifacts locally with npm package
r/Anthropic on Reddit: Claude Artifacts Locally with NPM package
June 28, 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-code › issues › 10191
[BUG] @anthropic-ai/claude-code npm package missing sdk.mjs entry point · Issue #10191 · anthropics/claude-code
October 23, 2025 - area:packagingbugSomething isn't ... @anthropic-ai/[email protected] (and earlier versions) is missing its main entry point file, causing module resolution failures....
Published Oct 23, 2025
npm
npmjs.com › package › @promptbook › anthropic-claude
@promptbook/anthropic-claude - npm
Long Context: Take advantage of Claude's extended context window · Safety Features: Built-in safety and alignment features from Anthropic · 🧠 Advanced AI Models - Access to Claude's state-of-the-art language models
» npm install @promptbook/anthropic-claude
Published Dec 22, 2025
Version 0.104.0-10
Author Pavol Hejný
Repository https://github.com/webgptorg/promptbook
Homepage https://ptbk.io/
jsDelivr
jsdelivr.com › package › npm › @anthropic-ai › claude-code
anthropic-ai/claude-code - A CDN for npm and GitHub
September 30, 2025 - A free, fast, and reliable CDN for @anthropic-ai/claude-code. Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.
Published Feb 24, 2025
Reddit
reddit.com › r/node › beware that @anthropic-ai/claude-code is not open-source
r/node on Reddit: Beware that @anthropic-ai/claude-code is not open-source
June 1, 2025 -
I was using claude and I am pretty happy with it.
https://www.npmjs.com/package/@anthropic-ai/claude-code
However, I stumbled into an annoying limitations of needing to manually accept every system action and I wanted to patch the program – which is when I realized that the repository does not contain any of the code and that the executable that's distributed via NPM comes with mangled code.
Not necessarily evil or anything, just caught me by surprise that I am effectively running unknown code that I cannot inspect.
Top answer 1 of 5
19
I know this doesn’t address your frustration with Claude Code not being open source however you can run it with the flag “--dangerously-skip-permissions”.
2 of 5
18
I don’t know why they do this. Anyone with a passing interest can download the source and unmangle whatever they’ve done to it.
GitHub
github.com › musistudio › claude-code-router
GitHub - musistudio/claude-code-router: Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.
First, ensure you have Claude Code installed: npm install -g @anthropic-ai/claude-code · Then, install Claude Code Router: npm install -g @musistudio/claude-code-router · Create and configure your ~/.claude-code-router/config.json file.
Starred by 23.9K users
Forked by 1.9K users
Languages TypeScript 95.4% | JavaScript 2.9% | CSS 1.6%
Anthropic
anthropic.com › engineering › claude-code-best-practices
Claude Code: Best practices for agentic coding
This makes it an ideal place for documenting: ... Repository etiquette (e.g., branch naming, merge vs. rebase, etc.) Developer environment setup (e.g., pyenv use, which compilers work) Any unexpected behaviors or warnings particular to the project ... There’s no required format for CLAUDE.md files. We recommend keeping them concise and human-readable. For example: # Bash commands - npm run build: Build the project - npm run typecheck: Run the typechecker # Code style - Use ES modules (import/export) syntax, not CommonJS (require) - Destructure imports when possible (eg.
Anthropic
docs.anthropic.com › en › docs › claude-code › quickstart
Quickstart - Claude Code Docs
Ask AI · npm install -g @anthropic-ai/claude-code · Claude Code requires an account to use. When you start an interactive session with the claude command, you’ll need to log in: Copy · Ask AI · claude # You'll be prompted to log in on ...