# Uninstall Devin Server

{% hint style="danger" %}
Uninstalling Devin Server will remove all Devin project data and backup files, such as version backup files, version descriptions and data migration history.&#x20;
{% endhint %}

To uninstall Devin Server, ensure you have administrator/root access on the server and follow these steps:

{% tabs %}
{% tab title="Linux" %}

1. Download the uninstaller script with:

```bash
wget https://download.devin.fm/downloads/uninstall_devin_unix.sh
```

2. Make the script executable with:

```bash
chmod +x uninstall_devin_unix.sh
```

3. Run the uninstaller as a superuser with:

```bash
sudo ./uninstall_devin_unix.sh
```

4. Complete the uninstallation by following the instructions in the removal script.
   {% endtab %}

{% tab title="macOS" %}

1. Navigate to the uninstaller by running:

```bash
cd /Library/Devin-Server/{version}
```

2. Then type the following:

```bash
sudo sh uninstall.sh
```

3. When prompted, enter your password and type `Y` to proceed the uninstallation.
   {% endtab %}

{% tab title="Windows Server" %}

1. Stop Devin Server (see [starting-stopping-and-restarting-devin-server](https://docs.devin.fm/server-mangement/starting-stopping-and-restarting-devin-server "mention"))
2. Open Windows PowerShell
3. Navigate to the Devin directory by running the following command:

```
cd "C:\Program Files\Devin\"
```

4. Start the uninstall script by running the following command:

```
.\uninstall.ps1 -Username "<FMS Admin Username>" -Password "<FMS Admin Password>" 
```

{% endtab %}
{% endtabs %}
