import { TabsGroup, TabsItem } from "@/components/DocsTabs";
import Alert from "@/components/DocsAlert";

# Uninstall Firezone

Firezone can be uninstalled using the steps below.

<Alert
  color="warning"
  html={`
This will irreversibly destroy ALL Firezone data and can't be undone.
`}
/>

<TabsGroup>
<TabsItem title="Docker" active>

For docker-based deployments, simply bring the firezone services down, then
delete the working directory where you installed the Firezone docker files
(`$HOME/.firezone` by default):

```bash
# default install dir
installDir=$HOME/.firezone
docker compose -f $installDir/docker-compose.yml down -v
rm -rf $installDir
```

</TabsItem>
<TabsItem title="Omnibus">

To completely remove Omnibus-based deployments of Firezone run the
[uninstall.sh script](https://github.com/firezone/firezone/blob/legacy/scripts/omnibus-uninstall.sh):

```bash
sudo /bin/bash -c "$(curl -fsSL https://github.com/firezone/firezone/raw/legacy/scripts/omnibus-uninstall.sh)"
```

</TabsItem>
</TabsGroup>
