diff --git a/README.md b/README.md index 91983d35..80aa75ed 100644 --- a/README.md +++ b/README.md @@ -11,30 +11,37 @@ Claude Code is an agentic coding tool that lives in your terminal, understands y ## Get started +> [!NOTE] +> Installation via npm is deprecated. Use one of the recommended methods below. + +For more installation options, uninstall steps, and troubleshooting, see the [setup documentation](https://code.claude.com/docs/en/setup). 1. Install Claude Code: -**MacOS/Linux:** -```bash -curl -fsSL https://claude.ai/install.sh | bash -``` + **MacOS/Linux (Recommended):** + ```bash + curl -fsSL https://claude.ai/install.sh | bash + ``` -**Homebrew (MacOS):** -```bash -brew install --cask claude-code -``` + **Homebrew (MacOS/Linux):** + ```bash + brew install --cask claude-code + ``` -**Windows:** -```powershell -irm https://claude.ai/install.ps1 | iex -``` + **Windows (Recommended):** + ```powershell + irm https://claude.ai/install.ps1 | iex + ``` -**NPM:** -```bash -npm install -g @anthropic-ai/claude-code -``` + **WinGet (Windows):** + ```powershell + winget install Anthropic.ClaudeCode + ``` -NOTE: If installing with NPM, you also need to install [Node.js 18+](https://nodejs.org/en/download/) + **NPM (Deprecated):** + ```bash + npm install -g @anthropic-ai/claude-code + ``` 2. Navigate to your project directory and run `claude`.