mirror of
https://github.com/anthropics/claude-code.git
synced 2026-05-21 11:02:41 +00:00
docs: Update README installation options to match official docs
Expands the installation section to include all available methods: - macOS/Linux (curl installer) - Homebrew - Windows (PowerShell installer) - NPM This brings the repository README in line with the official documentation at https://docs.claude.com/en/docs/claude-code/overview
This commit is contained in:
19
README.md
19
README.md
@@ -14,9 +14,26 @@ Claude Code is an agentic coding tool that lives in your terminal, understands y
|
|||||||
|
|
||||||
1. Install Claude Code:
|
1. Install Claude Code:
|
||||||
|
|
||||||
```sh
|
**macOS/Linux:**
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://claude.ai/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
**Homebrew:**
|
||||||
|
```bash
|
||||||
|
brew install --cask claude-code
|
||||||
|
```
|
||||||
|
|
||||||
|
**Windows:**
|
||||||
|
```powershell
|
||||||
|
irm https://claude.ai/install.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
**NPM:**
|
||||||
|
```bash
|
||||||
npm install -g @anthropic-ai/claude-code
|
npm install -g @anthropic-ai/claude-code
|
||||||
```
|
```
|
||||||
|
Requires [Node.js 18+](https://nodejs.org/en/download/)
|
||||||
|
|
||||||
2. Navigate to your project directory and run `claude`.
|
2. Navigate to your project directory and run `claude`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user