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

# Uninstall the Astro CLI

> Instructions for uninstalling the Astro command-line interface (CLI).

You can uninstall the Astro CLI from your machine if you no longer need it or if you want to perform a clean reinstallation of the CLI.

## Uninstall CLI

**Mac**

To uninstall the Astro CLI on Mac, run:

```sh wrap theme={null}
brew uninstall astro
```

**Windows with winget**

To uninstall an older version of the Astro CLI, you'll need to follow the [alternate Windows uninstall process](https://astronomer.io/docs/cli/v1.47/uninstall-cli.md?tab=windows-manual).

To uninstall the Astro CLI, open Windows PowerShell as an administrator and run the following command:

```sh wrap theme={null}
winget uninstall -e --id Astronomer.Astro
```

**Windows (Manual)**

To uninstall the Astro CLI on Windows:

1. Delete the filepath for `astro.exe` from your Windows PATH environment variable.
2. Delete `astro.exe`.

**Linux**

Run the following command to uninstall the Astro CLI on Linux:

```sh wrap theme={null}
sudo rm /usr/local/bin/astro
```
