AI news and explainers at 7 AM weekdays, plus a Sunday weekly at 8Get it in your inbox

METAL LAB

Claude Code drops npm install in favor of script-based installation

Anthropic's coding agent, now past 140,000 GitHub stars, has made curl, Homebrew, and WinGet the official recommended install methods instead of npm

이미지: METAL LAB 생성

Summary

  • The Claude Code repository hit GitHub Trending with 142,000 stars and 22,800 forks.
  • Installation via npm is now officially deprecated — macOS and Linux users are pointed to a curl script or Homebrew, while Windows users are directed to a PowerShell script or WinGet.
  • The repository also documents a plugins directory, a bug-reporting system via the /bug command, and its policies on collecting and retaining user data.
저장소
anthropics/claude-code (GitHub)
스타/포크
142.4k stars / 22.8k forks
워처/열린 이슈/PR
871명 / 5,000+건 / 729건
설치 방식 변경
npm 설치 지원 중단(비권장), 네이티브 스크립트·Homebrew·WinGet 권장
버그 신고
클로드 코드 내 /bug 명령 또는 GitHub 이슈
데이터 정책
코드 수락/거부, 대화 데이터, /bug 피드백 수집 · 모델 학습에는 미사용
커뮤니티
Claude Developers Discord 운영
확장 기능
저장소 내 plugins 디렉터리로 명령·에이전트 확장 지원

In one corner of a terminal window, a star counter just ticked past 142,400. That's the tally for Claude Code, Anthropic's coding agent. The tool lives right inside the command line, reading through a project's codebase, handling repetitive tasks, explaining complex code, and even running git operations — all from natural-language commands. You can use the github.com/anthropics/claude-code repository from a terminal, an IDE, or by tagging @claude on GitHub.

The Repo by the Numbers

MetricValue
Stars142.4k
Forks22.8k
Watchers871
Open issues5,000+
Open PRs729

What It Is: A Coding Agent That Lives in Your Terminal

Claude Code writes code for you, but it goes well beyond autocomplete. It reads GitHub issues, fixes the code, and even organizes the commits on its own. Back on August 17, Anthropic added a /design skill as a research preview, bringing Claude Design's artboard workflow straight into the CLI and desktop app. This latest repository update is more foundational than that — it's about cleaning up how the tool gets installed in the first place.

The Install Method Has Changed: Scripts Instead of npm

The repository's documentation now states plainly: "Installation via npm is deprecated." In other words, installing through npm (the JavaScript package manager) is no longer the officially recommended path. Instead, the guidance now points to different methods depending on your operating system.

Operating SystemRecommended MethodCommand
macOS/Linuxcurl scriptcurl -fsSL https://claude.ai/install.sh | bash
macOS/LinuxHomebrewbrew install --cask claude-code
WindowsPowerShell scriptirm https://claude.ai/install.ps1 | iex
WindowsWinGetwinget install Anthropic.ClaudeCode
All platforms (not recommended)npmnpm install -g @anthropic-ai/claude-code

Once it's installed, just move into your project folder and type claude to launch it. If you run into trouble during setup, the setup documentation covers workarounds and uninstall steps too.

Inside the Repository

The repository also includes a plugins directory for extending commands and agents. If you spot a problem, you can either type /bug inside Claude Code or file a GitHub issue. On data collection, Anthropic states that it gathers whether code suggestions were accepted or rejected, the related conversation content, and any feedback submitted through /bug. The company also says it limits how long sensitive information is retained, restricts access to session data, and doesn't use the collected feedback to train its models. For user communication, Anthropic runs a Claude Developers Discord.

How to Try It

  1. Open a terminal and run the command that matches your operating system from the table above.
  2. Once installed, move into the project folder you want to work in.
  3. Type claude to launch Claude Code, then give it instructions in plain language. For example, typing "add error handling to this function" will have it edit the code directly.
  4. You can also ask it to summarize an entire codebase or clean up your git commit messages.
  5. If something goes wrong, you can send a report immediately with the /bug command.

Amid a Growing Field of Coding Agents

Claude Code is built and run directly by Anthropic. GitHub Copilot occupies similar territory, but its structure is different — Copilot functions more as an interface, with the actual responses generated by whichever model the user selects (GPT, Claude, Gemini, and so on). Cursor is also expanding its codebase and review features, so the race for the coding-agent spot spanning terminal, IDE, and GitHub is effectively a three-way contest.

Editor's Take

Claude Code's move away from npm installation toward scripts and package managers might look like a simple distribution tweak, but it's really a sign that Anthropic is starting to treat this tool as infrastructure-grade software. npm has long been a path riddled with the JavaScript ecosystem's familiar problems — version conflicts and global-install permission headaches. Shifting to curl scripts, Homebrew, and WinGet cuts down on installation-failure support tickets and gives Anthropic tighter control over update rollouts. Anyone who's shipped a CLI tool across multiple teams will immediately recognize why this change happened — global npm installs tend to break in environments where Node versions vary from machine to machine, and that's a common headache.

In practical terms, teams already running Claude Code through npm probably won't hit any immediate issues, but it's worth switching to a native install before the next update lands. If your organization's proxy or security policy blocks running curl scripts, check whether Homebrew or WinGet works instead. It's also worth paying attention to the data policy here — the statement that accept/reject data isn't used for model training directly answers the question security teams typically ask first when evaluating a tool that touches an internal codebase.

According to domestic reports, Anthropic opened a Seoul office back in June and named Korea one of its "fastest-growing markets," and by the end of this month there were even reports that it's preparing an IPO filing on the US stock market. Even a small change like tidying up how one developer tool gets installed fits into that bigger picture — shoring up product stability and enterprise trust ahead of a potential listing. In the coming weeks, it wouldn't be surprising to see an announcement formally opening up the plugin ecosystem, or follow-up updates aimed at closing the feature gap with rivals like Copilot and Cursor.

Code from this story

Comments