quickstart.md +27 −27
14 14
15## Step 1: Install Claude Code15## Step 1: Install Claude Code
16 16
1717### NPM InstallTo install Claude Code, use one of the following methods:
18 18
1919If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):<Tabs>
20 <Tab title="Native Install (Recommended)">
21 **Homebrew (macOS, Linux):**
20 22
2123```sh theme={null} ```sh theme={null}
2224npm install -g @anthropic-ai/claude-code brew install --cask claude-code
2325``` ```
24
25### Native Install
26
27<Tip>
28 Alternatively, try our new native install, now in beta.
29</Tip>
30 26
3127**Homebrew (macOS, Linux):** **macOS, Linux, WSL:**
32 28
3329```sh theme={null} ```bash theme={null}
3430brew install --cask claude-code curl -fsSL https://claude.ai/install.sh | bash
3531``` ```
36 32
3733**macOS, Linux, WSL:** **Windows PowerShell:**
38 34
3935```bash theme={null} ```powershell theme={null}
4036curl -fsSL https://claude.ai/install.sh | bash irm https://claude.ai/install.ps1 | iex
4137``` ```
42 38
4339**Windows PowerShell:** **Windows CMD:**
44 40
4541```powershell theme={null} ```batch theme={null}
4642irm https://claude.ai/install.ps1 | iex curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
4743``` ```
44 </Tab>
48 45
4946**Windows CMD:** <Tab title="NPM">
47 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):
50 48
5149```batch theme={null} ```sh theme={null}
5250curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd npm install -g @anthropic-ai/claude-code
5351``` ```
52 </Tab>
53</Tabs>
54 54
55## Step 2: Log in to your account55## Step 2: Log in to your account
56 56