> ## 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

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

<Tabs>
  <Tab title="Mac" language="mac">
    To uninstall the Astro CLI on Mac, run:

    ```sh wrap theme={null}
    brew uninstall astro
    ```
  </Tab>

  <Tab title="Windows with winget" language="windows-winget">
    To uninstall an older version of the Astro CLI, you'll need to follow the [alternate Windows uninstall process](/docs/cli/v1.38/uninstall-cli?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
    ```
  </Tab>

  <Tab title="Windows (Manual)" language="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`.
  </Tab>

  <Tab title="Linux" language="linux">
    Run the following command to uninstall the Astro CLI on Linux:

    ```sh wrap theme={null}
    sudo rm /usr/local/bin/astro
    ```
  </Tab>
</Tabs>
