Back to timeline

Wed, October 1423:30ToolsModel releasesAI codingAgentsModel releases guide

Claude Code repo update: npm install deprecated in favor of official script, Homebrew, and WinGet

Decision Brief

What changedClaude Code's official repo updated its install instructions, deprecating npm global install in favor of curl script, Homebrew, and WinGet.
Why it mattersWith installation shifting from npm to official scripts and system package managers, developers deploying Claude Code via CI or scripts must replace their npm-based install steps or hit the deprecated path.
Who should careAI coding tool users
Affected stackClaude Code
Builder actionUpdate Claude Code to the latest version
Source confidenceHigh · Official release / blog / repo

Claude Code is a terminal-based agent coding tool that understands codebases and executes routine tasks, explains complex code, and handles git workflows via natural language; it also works in IDEs or via @claude on GitHub. The core change is installation: npm global install is now explicitly deprecated, with three official options—curl -fsSL https://claude.ai/install.sh | bash on macOS/Linux, brew install --cask claude-code, and on Windows irm https://claude.ai/install.ps1 | iex or winget install Anthropic.ClaudeCode. npm install -g @anthropic-ai/claude-code still runs but is deprecated. Engineers baking Claude Code into automation scripts, Docker images, or dev-machine setup must swap npm steps for the platform's official script or package manager command, or risk the deprecated path breaking. Windows users gain WinGet as a native option; macOS/Linux users gain the Homebrew cask. The repo also details data collection: usage data such as code acceptance or rejection, related conversation data, and /bug feedback, with stated retention limits on sensitive info, restricted access to session data, and a commitment not to use feedback for model training.

Summary basis: full article readCompiled from the source scope noted above; the original remains authoritative.

Sources

  • Skill Radar(GitHub 趋势)

    Trending hands-on MCP servers, agent skills, and AI-coding tools discovered from GitHub search momentum.

  • GitHub:anthropics/claude-code

Related intel

留言

登入后即可留言,和其他 builder 交换实测心得。

还没有留言,抢头香。