> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codecrafters.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I uninstall the CLI?

To remove the CodeCrafters CLI from your machine, follow the OS-specific instructions below.

## Mac

Remove the CLI binary:

```bash theme={null}
sudo rm -f /usr/local/bin/codecrafters
```

## Linux

Remove the CLI binary:

```bash theme={null}
sudo rm -f /usr/local/bin/codecrafters
```

## Windows

> [tab] PowerShell
>
> Remove the CLI directory:
>
> ```powershell theme={null}
> Remove-Item -Recurse -Force "$env:LOCALAPPDATA\Programs\codecrafters" -ErrorAction SilentlyContinue
> ```
>
> The installer also added the CLI directory to your user PATH. To remove it:
>
> 1. Open **Settings → System → About → Advanced system settings → Environment Variables**.
> 2. Under User variables, select **Path** and click **Edit**.
> 3. Delete the entry for `%LOCALAPPDATA%\Programs\codecrafters`.

> [tab] WSL
>
> Remove the CLI binary:
>
> ```bash theme={null}
> sudo rm -f /usr/local/bin/codecrafters
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.