#npm articles
4 articles
-
Claude Code
npm install で迷うClaude系4パッケージ|用途別の選び方
「npm install anthropic ai claude code」で何を入れるべきか迷う開発者向けに、Claude Code CLI・公式SDK・Vercel AI SDKプロバイダ・Agent SDKの4パッケージを用途別に整理し、正しいインストールコマンドと最小コードを公式情報ベースで解説する。
-
Claude Code
How to Update Claude on Linux | Differences Between claude update and npm
A breakdown of how to update Claude Code on Linux by installation method. The official installer uses background auto-updates, the npm version requires `npm install -g @anthropic-ai/claude-code@latest`, and apt/dnf/apk versions require manual upgrades. Also covers `claude update` and how to control auto-update behavior.
-
Claude Code
Installing Claude via npm | Avoiding sudo and Updating with @latest
A guide for Node.js developers who want to install Claude Code via npm — covering prerequisites for npm install -g @anthropic-ai/claude-code, why you should avoid sudo, updating with @latest, resolving 'Native binary not found', and WSL pitfalls, based on official Anthropic documentation.
-
Claude Code
Claude Mac Update | Auto-Update, brew, and npm Procedures
A complete guide to keeping Claude up to date on Mac, covering three installation paths — native installer, Homebrew, and npm. Includes auto-update behavior, the claude update command, release channel switching, and verification with claude --version and claude doctor, all based on official Anthropic documentation.