Follow Discord
Sweep 30 Oct 2026 · 01:02Z Build v2.1.314 532 read Stable v2.1.308 Latest v2.1.314 Next v2.1.314 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Advanced setup changedsetup

Nearest release: v2.1.314, published 17 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 30 Oct 2026 17:44 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 30 Oct 2026 18:07 UTC.

Upstream edited
Recorded here
Lines+270added
Lines−270removed
From line 31 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits31to this page, all time

The whole hunk

from line 31, old and new numbered
/
lines

The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.

from line 31
3131 
3232To install Claude Code, open a terminal and run the command for your system. If you haven't used a terminal before, the [terminal guide](https://code.claude.com/docs/en/terminal-guide) shows how to open one and paste the command.
3333 
34**Native Install (Recommended)**
35 
36**macOS, Linux, WSL:**
37 
38```bash theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
39curl -fsSL https://claude.ai/install.sh | bash
40```
41 
42On Windows, your prompt shows `PS C:\` when you're in PowerShell and `C:\` without the `PS` when you're in CMD.
43 
44**Windows PowerShell:**
45 
46```powershell theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
47irm https://claude.ai/install.ps1 | iex
48```
49 
50**Windows CMD:**
51 
52```batch theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
53curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
54```
55 
56The install command shows no progress while it downloads Claude Code. When the installer finishes, open a new terminal window and run `claude --version`. A working installation prints a version number. If your shell says `claude` isn't found or isn't recognized, the install directory isn't on your PATH yet: see [Fix your PATH](https://code.claude.com/docs/en/troubleshoot-install.md#command-not-found-claude-after-installation).
57 
58If you see `The token '&&' is not a valid statement separator`, you're in PowerShell, not CMD. If you see `'irm' is not recognized as an internal or external command`, you're in CMD, not PowerShell.
59 
60If the install command fails with `syntax error near unexpected token '<'`, a `403`, or any other error, see [Troubleshoot installation](https://code.claude.com/docs/en/troubleshoot-install.md#find-your-error) to match the error to a fix and for alternative install methods.
61 
62[Git for Windows](https://git-scm.com/downloads/win) is recommended on native Windows so Claude Code can use the Bash tool. If Git for Windows is not installed, Claude Code uses PowerShell as the shell tool instead. WSL setups do not need Git for Windows.
63 
64> [!NOTE]
65>
66> Native installations automatically update in the background to keep you on the latest version.
67 
68**Homebrew**
69 
70```bash theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
71brew install --cask claude-code
72```
73 
74Homebrew offers two casks. `claude-code` tracks the stable release channel, which is typically about a week behind and skips releases with major regressions. `claude-code@latest` tracks the latest channel and receives new versions as soon as they ship.
75 
76> [!NOTE]
77>
78> Homebrew installations do not auto-update. Run `brew upgrade claude-code` or `brew upgrade claude-code@latest`, depending on which cask you installed, to get the latest features and security fixes.
79 
80**WinGet**
81 
82```powershell theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null}
83winget install Anthropic.ClaudeCode
84```
85 
86> [!NOTE]
87>
88> WinGet installations do not auto-update. Run `winget upgrade Anthropic.ClaudeCode` periodically to get the latest features and security fixes.
34> [tab] Native Install (Recommended)
35>
36> **macOS, Linux, WSL:**
37>
38> ```bash theme={null}
39> curl -fsSL https://claude.ai/install.sh | bash
40> ```
41>
42> On Windows, your prompt shows `PS C:\` when you're in PowerShell and `C:\` without the `PS` when you're in CMD.
43>
44> **Windows PowerShell:**
45>
46> ```powershell theme={null}
47> irm https://claude.ai/install.ps1 | iex
48> ```
49>
50> **Windows CMD:**
51>
52> ```batch theme={null}
53> curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
54> ```
55>
56> The install command shows no progress while it downloads Claude Code. When the installer finishes, open a new terminal window and run `claude --version`. A working installation prints a version number. If your shell says `claude` isn't found or isn't recognized, the install directory isn't on your PATH yet: see [Fix your PATH](https://code.claude.com/docs/en/troubleshoot-install.md#command-not-found-claude-after-installation).
57>
58> If you see `The token '&&' is not a valid statement separator`, you're in PowerShell, not CMD. If you see `'irm' is not recognized as an internal or external command`, you're in CMD, not PowerShell.
59>
60> If the install command fails with `syntax error near unexpected token '<'`, a `403`, or any other error, see [Troubleshoot installation](https://code.claude.com/docs/en/troubleshoot-install.md#find-your-error) to match the error to a fix and for alternative install methods.
61>
62> [Git for Windows](https://git-scm.com/downloads/win) is recommended on native Windows so Claude Code can use the Bash tool. If Git for Windows is not installed, Claude Code uses PowerShell as the shell tool instead. WSL setups do not need Git for Windows.
63>
64> > [!NOTE]
65> >
66> > Native installations automatically update in the background to keep you on the latest version.
67 
68> [tab] Homebrew
69>
70> ```bash theme={null}
71> brew install --cask claude-code
72> ```
73>
74> Homebrew offers two casks. `claude-code` tracks the stable release channel, which is typically about a week behind and skips releases with major regressions. `claude-code@latest` tracks the latest channel and receives new versions as soon as they ship.
75>
76> > [!NOTE]
77> >
78> > Homebrew installations do not auto-update. Run `brew upgrade claude-code` or `brew upgrade claude-code@latest`, depending on which cask you installed, to get the latest features and security fixes.
79 
80> [tab] WinGet
81>
82> ```powershell theme={null}
83> winget install Anthropic.ClaudeCode
84> ```
85>
86> > [!NOTE]
87> >
88> > WinGet installations do not auto-update. Run `winget upgrade Anthropic.ClaudeCode` periodically to get the latest features and security fixes.
8989 
9090You can also install with [apt, dnf, or apk](https://code.claude.com/docs/en/setup.md#install-with-linux-package-managers) on Debian, Fedora, RHEL, and Alpine.
9191 
from line 184
184184 
185185## Authenticate
186186 
187Claude Code requires a Pro, Max, Team, Enterprise, or Console account. The free claude.ai plan does not include Claude Code access. You can also use Claude Code with a third-party API provider like [Amazon Bedrock](https://code.claude.com/docs/en/amazon-bedrock.md), [Google Cloud's Agent Platform](https://code.claude.com/docs/en/google-vertex-ai.md), or [Microsoft Foundry](https://code.claude.com/docs/en/microsoft-foundry.md).
187Claude Code requires a Pro, Max, Ultra, Team, Enterprise, or Console account. The free claude.ai plan does not include Claude Code access. You can also use Claude Code with a third-party API provider like [Amazon Bedrock](https://code.claude.com/docs/en/amazon-bedrock.md), [Google Cloud's Agent Platform](https://code.claude.com/docs/en/google-vertex-ai.md), or [Microsoft Foundry](https://code.claude.com/docs/en/microsoft-foundry.md).
188188 
189189After installing, log in by running `claude` and following the browser prompts. If you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it, Claude Code skips the login prompt. See [Authentication](https://code.claude.com/docs/en/authentication.md) for all account types and team setup options.
190190 
from line 296
296296 
297297To install the latest version (default):
298298 
299**macOS, Linux, WSL**
300 
301```bash theme={null}
302curl -fsSL https://claude.ai/install.sh | bash
303```
304 
305**Windows PowerShell**
306 
307```powershell theme={null}
308irm https://claude.ai/install.ps1 | iex
309```
310 
311**Windows CMD**
312 
313```batch theme={null}
314curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
315```
299> [tab] macOS, Linux, WSL
300>
301> ```bash theme={null}
302> curl -fsSL https://claude.ai/install.sh | bash
303> ```
304 
305> [tab] Windows PowerShell
306>
307> ```powershell theme={null}
308> irm https://claude.ai/install.ps1 | iex
309> ```
310 
311> [tab] Windows CMD
312>
313> ```batch theme={null}
314> curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
315> ```
316316 
317317To install the stable version:
318318 
319**macOS, Linux, WSL**
320 
321```bash theme={null}
322curl -fsSL https://claude.ai/install.sh | bash -s stable
323```
324 
325**Windows PowerShell**
326 
327```powershell theme={null}
328& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) stable
329```
330 
331**Windows CMD**
332 
333```batch theme={null}
334curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd stable && del install.cmd
335```
319> [tab] macOS, Linux, WSL
320>
321> ```bash theme={null}
322> curl -fsSL https://claude.ai/install.sh | bash -s stable
323> ```
324 
325> [tab] Windows PowerShell
326>
327> ```powershell theme={null}
328> & ([scriptblock]::Create((irm https://claude.ai/install.ps1))) stable
329> ```
330 
331> [tab] Windows CMD
332>
333> ```batch theme={null}
334> curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd stable && del install.cmd
335> ```
336336 
337337To install a specific version number:
338338 
339**macOS, Linux, WSL**
340 
341```bash theme={null}
342curl -fsSL https://claude.ai/install.sh | bash -s 2.1.89
343```
344 
345**Windows PowerShell**
346 
347```powershell theme={null}
348& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 2.1.89
349```
350 
351**Windows CMD**
352 
353```batch theme={null}
354curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd 2.1.89 && del install.cmd
355```
339> [tab] macOS, Linux, WSL
340>
341> ```bash theme={null}
342> curl -fsSL https://claude.ai/install.sh | bash -s 2.1.89
343> ```
344 
345> [tab] Windows PowerShell
346>
347> ```powershell theme={null}
348> & ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 2.1.89
349> ```
350 
351> [tab] Windows CMD
352>
353> ```batch theme={null}
354> curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd 2.1.89 && del install.cmd
355> ```
356356 
357357To confirm which version installed, run `claude --version`: the command prints the exact version you passed, such as `2.1.89 (Claude Code)`.
358358 
from line 362
362362 
363363All repositories are signed with the [Claude Code release signing key](#binary-integrity-and-code-signing). Before trusting the key, verify it as described in each tab.
364364 
365**apt**
366 
367For Debian and Ubuntu. The install commands below download the signing key with `curl` and verify it with `gpg`, which fresh Debian and Ubuntu installations may not include. If either command reports `command not found`, install both first:
368 
369```bash theme={null}
370sudo apt install curl gnupg
371```
372 
373Download the signing key:
374 
375```bash theme={null}
376sudo install -d -m 0755 /etc/apt/keyrings
377sudo curl -fsSL https://downloads.claude.ai/keys/claude-code.asc \
378 -o /etc/apt/keyrings/claude-code.asc
379```
380 
381If this download fails, `apt update` later fails with `NO_PUBKEY BAA929FF1A7ECACE`. Confirm the key downloaded and belongs to Anthropic before continuing:
382 
383```bash theme={null}
384gpg --show-keys /etc/apt/keyrings/claude-code.asc
385```
386 
387The fingerprint gpg prints should be `31DDDE24DDFAB679F42D7BD2BAA929FF1A7ECACE`. If gpg reports that the file can't be opened or contains no valid OpenPGP data, the download failed or returned the wrong content: confirm your network can reach `downloads.claude.ai`, then rerun the download command.
388 
389Register the repository on the `stable` channel and install:
390 
391```bash theme={null}
392echo "deb [signed-by=/etc/apt/keyrings/claude-code.asc] https://downloads.claude.ai/claude-code/apt/stable stable main" \
393 | sudo tee /etc/apt/sources.list.d/claude-code.list
394sudo apt update
395sudo apt install claude-code
396```
397 
398To use the `latest` channel instead, both the URL path and the suite name change. Use this `deb` line:
399 
400```bash theme={null}
401echo "deb [signed-by=/etc/apt/keyrings/claude-code.asc] https://downloads.claude.ai/claude-code/apt/latest latest main" \
402 | sudo tee /etc/apt/sources.list.d/claude-code.list
403```
404 
405To upgrade later, run `sudo apt update && sudo apt upgrade claude-code`.
406 
407**dnf**
408 
409For Fedora and RHEL. The following commands configure the `stable` channel:
410 
411```bash theme={null}
412sudo tee /etc/yum.repos.d/claude-code.repo <<'EOF'
413[claude-code]
414name=Claude Code
415baseurl=https://downloads.claude.ai/claude-code/rpm/stable
416enabled=1
417gpgcheck=1
418gpgkey=https://downloads.claude.ai/keys/claude-code.asc
419EOF
420sudo dnf install claude-code
421```
422 
423To use the `latest` channel instead, set `baseurl` to the `latest` repository:
424 
425```ini theme={null}
426baseurl=https://downloads.claude.ai/claude-code/rpm/latest
427```
428 
429dnf downloads the key on first install and prompts you to confirm the fingerprint. Verify it matches `31DD DE24 DDFA B679 F42D 7BD2 BAA9 29FF 1A7E CACE` before accepting.
430 
431To upgrade later, run `sudo dnf upgrade claude-code`.
432 
433**apk**
434 
435For Alpine Linux. The following commands configure the `stable` channel:
436 
437```sh theme={null}
438wget -O /etc/apk/keys/claude-code.rsa.pub \
439 https://downloads.claude.ai/keys/claude-code.rsa.pub
440echo "https://downloads.claude.ai/claude-code/apk/stable" >> /etc/apk/repositories
441apk add claude-code
442```
443 
444To switch to the `latest` channel, remove the `stable` repository line and add the `latest` repository:
445 
446```sh theme={null}
447sed -i '\|downloads.claude.ai/claude-code/apk/stable|d' /etc/apk/repositories
448echo "https://downloads.claude.ai/claude-code/apk/latest" >> /etc/apk/repositories
449```
450 
451Verify the downloaded key with `sha256sum /etc/apk/keys/claude-code.rsa.pub`, which should report `395759c1f7449ef4cdef305a42e820f3c766d6090d142634ebdb049f113168b6`.
452 
453To upgrade later, run `apk update && apk upgrade claude-code`.
365> [tab] apt
366>
367> For Debian and Ubuntu. The install commands below download the signing key with `curl` and verify it with `gpg`, which fresh Debian and Ubuntu installations may not include. If either command reports `command not found`, install both first:
368>
369> ```bash theme={null}
370> sudo apt install curl gnupg
371> ```
372>
373> Download the signing key:
374>
375> ```bash theme={null}
376> sudo install -d -m 0755 /etc/apt/keyrings
377> sudo curl -fsSL https://downloads.claude.ai/keys/claude-code.asc \
378> -o /etc/apt/keyrings/claude-code.asc
379> ```
380>
381> If this download fails, `apt update` later fails with `NO_PUBKEY BAA929FF1A7ECACE`. Confirm the key downloaded and belongs to Anthropic before continuing:
382>
383> ```bash theme={null}
384> gpg --show-keys /etc/apt/keyrings/claude-code.asc
385> ```
386>
387> The fingerprint gpg prints should be `31DDDE24DDFAB679F42D7BD2BAA929FF1A7ECACE`. If gpg reports that the file can't be opened or contains no valid OpenPGP data, the download failed or returned the wrong content: confirm your network can reach `downloads.claude.ai`, then rerun the download command.
388>
389> Register the repository on the `stable` channel and install:
390>
391> ```bash theme={null}
392> echo "deb [signed-by=/etc/apt/keyrings/claude-code.asc] https://downloads.claude.ai/claude-code/apt/stable stable main" \
393> | sudo tee /etc/apt/sources.list.d/claude-code.list
394> sudo apt update
395> sudo apt install claude-code
396> ```
397>
398> To use the `latest` channel instead, both the URL path and the suite name change. Use this `deb` line:
399>
400> ```bash theme={null}
401> echo "deb [signed-by=/etc/apt/keyrings/claude-code.asc] https://downloads.claude.ai/claude-code/apt/latest latest main" \
402> | sudo tee /etc/apt/sources.list.d/claude-code.list
403> ```
404>
405> To upgrade later, run `sudo apt update && sudo apt upgrade claude-code`.
406 
407> [tab] dnf
408>
409> For Fedora and RHEL. The following commands configure the `stable` channel:
410>
411> ```bash theme={null}
412> sudo tee /etc/yum.repos.d/claude-code.repo <<'EOF'
413> [claude-code]
414> name=Claude Code
415> baseurl=https://downloads.claude.ai/claude-code/rpm/stable
416> enabled=1
417> gpgcheck=1
418> gpgkey=https://downloads.claude.ai/keys/claude-code.asc
419> EOF
420> sudo dnf install claude-code
421> ```
422>
423> To use the `latest` channel instead, set `baseurl` to the `latest` repository:
424>
425> ```ini theme={null}
426> baseurl=https://downloads.claude.ai/claude-code/rpm/latest
427> ```
428>
429> dnf downloads the key on first install and prompts you to confirm the fingerprint. Verify it matches `31DD DE24 DDFA B679 F42D 7BD2 BAA9 29FF 1A7E CACE` before accepting.
430>
431> To upgrade later, run `sudo dnf upgrade claude-code`.
432 
433> [tab] apk
434>
435> For Alpine Linux. The following commands configure the `stable` channel:
436>
437> ```sh theme={null}
438> wget -O /etc/apk/keys/claude-code.rsa.pub \
439> https://downloads.claude.ai/keys/claude-code.rsa.pub
440> echo "https://downloads.claude.ai/claude-code/apk/stable" >> /etc/apk/repositories
441> apk add claude-code
442> ```
443>
444> To switch to the `latest` channel, remove the `stable` repository line and add the `latest` repository:
445>
446> ```sh theme={null}
447> sed -i '\|downloads.claude.ai/claude-code/apk/stable|d' /etc/apk/repositories
448> echo "https://downloads.claude.ai/claude-code/apk/latest" >> /etc/apk/repositories
449> ```
450>
451> Verify the downloaded key with `sha256sum /etc/apk/keys/claude-code.rsa.pub`, which should report `395759c1f7449ef4cdef305a42e820f3c766d6090d142634ebdb049f113168b6`.
452>
453> To upgrade later, run `apk update && apk upgrade claude-code`.
454454 
455455### Install with npm
456456 
from line 542
542542 
543543Compare the SHA256 checksum of the binary with the value listed under `platforms.<platform>.checksum` in `manifest.json`. The commands below assume a `claude` binary in the current directory. To verify an installed native binary instead, run the command against `~/.local/share/claude/versions/VERSION`, replacing VERSION with the release you set in Step 2.
544544 
545**Linux**
546 
547```bash theme={null}
548sha256sum claude
549```
550 
551**macOS**
552 
553```bash theme={null}
554shasum -a 256 claude
555```
556 
557**Windows PowerShell**
558 
559```powershell theme={null}
560(Get-FileHash claude.exe -Algorithm SHA256).Hash.ToLower()
561```
545> [tab] Linux
546>
547> ```bash theme={null}
548> sha256sum claude
549> ```
550 
551> [tab] macOS
552>
553> ```bash theme={null}
554> shasum -a 256 claude
555> ```
556 
557> [tab] Windows PowerShell
558>
559> ```powershell theme={null}
560> (Get-FileHash claude.exe -Algorithm SHA256).Hash.ToLower()
561> ```
562562 
563563> [!NOTE]
564564>
from line 580
580580 
581581Remove the Claude Code binary and version files:
582582 
583**macOS, Linux, WSL**
584 
585```bash theme={null}
586rm -f ~/.local/bin/claude
587rm -rf ~/.local/share/claude
588```
589 
590**Windows PowerShell**
591 
592```powershell theme={null}
593Remove-Item -Path "$env:USERPROFILE\.local\bin\claude.exe" -Force
594Remove-Item -Path "$env:USERPROFILE\.local\share\claude" -Recurse -Force
595```
583> [tab] macOS, Linux, WSL
584>
585> ```bash theme={null}
586> rm -f ~/.local/bin/claude
587> rm -rf ~/.local/share/claude
588> ```
589 
590> [tab] Windows PowerShell
591>
592> ```powershell theme={null}
593> Remove-Item -Path "$env:USERPROFILE\.local\bin\claude.exe" -Force
594> Remove-Item -Path "$env:USERPROFILE\.local\share\claude" -Recurse -Force
595> ```
596596 
597597### Uninstall with Homebrew
598598 
from line 620
620620 
621621Remove the package and the repository configuration:
622622 
623**apt**
624 
625```bash theme={null}
626sudo apt remove claude-code
627sudo rm /etc/apt/sources.list.d/claude-code.list /etc/apt/keyrings/claude-code.asc
628```
629 
630**dnf**
631 
632```bash theme={null}
633sudo dnf remove claude-code
634sudo rm /etc/yum.repos.d/claude-code.repo
635```
636 
637**apk**
638 
639```sh theme={null}
640apk del claude-code
641sed -i '\|downloads.claude.ai/claude-code/apk|d' /etc/apk/repositories
642rm /etc/apk/keys/claude-code.rsa.pub
643```
623> [tab] apt
624>
625> ```bash theme={null}
626> sudo apt remove claude-code
627> sudo rm /etc/apt/sources.list.d/claude-code.list /etc/apt/keyrings/claude-code.asc
628> ```
629 
630> [tab] dnf
631>
632> ```bash theme={null}
633> sudo dnf remove claude-code
634> sudo rm /etc/yum.repos.d/claude-code.repo
635> ```
636 
637> [tab] apk
638>
639> ```sh theme={null}
640> apk del claude-code
641> sed -i '\|downloads.claude.ai/claude-code/apk|d' /etc/apk/repositories
642> rm /etc/apk/keys/claude-code.rsa.pub
643> ```
644644 
645645### Uninstall with npm
646646 
from line 660
660660 
661661To remove Claude Code settings and cached data:
662662 
663**macOS, Linux, WSL**
664 
665```bash theme={null}
666# Remove user settings and state
667rm -rf ~/.claude
668rm ~/.claude.json
669 
670# Remove project-specific settings (run from your project directory)
671rm -rf .claude
672rm -f .mcp.json
673```
674 
675**Windows PowerShell**
676 
677```powershell theme={null}
678# Remove user settings and state
679Remove-Item -Path "$env:USERPROFILE\.claude" -Recurse -Force
680Remove-Item -Path "$env:USERPROFILE\.claude.json" -Force
681 
682# Remove project-specific settings (run from your project directory)
683Remove-Item -Path ".claude" -Recurse -Force
684Remove-Item -Path ".mcp.json" -Force
685```
663> [tab] macOS, Linux, WSL
664>
665> ```bash theme={null}
666> # Remove user settings and state
667> rm -rf ~/.claude
668> rm ~/.claude.json
669>
670> # Remove project-specific settings (run from your project directory)
671> rm -rf .claude
672> rm -f .mcp.json
673> ```
674 
675> [tab] Windows PowerShell
676>
677> ```powershell theme={null}
678> # Remove user settings and state
679> Remove-Item -Path "$env:USERPROFILE\.claude" -Recurse -Force
680> Remove-Item -Path "$env:USERPROFILE\.claude.json" -Force
681>
682> # Remove project-specific settings (run from your project directory)
683> Remove-Item -Path ".claude" -Recurse -Force
684> Remove-Item -Path ".mcp.json" -Force
685> ```
686686 
Feedback