# Upgrade or Uninstall Bindplane Server

{% hint style="info" %}
**NOTE**

We recommend backing up your environment prior to an upgrade. See our [Backup and Disaster Recovery Guide](https://docs.bindplane.com/configuration/bindplane/backup-and-disaster-recovery/bolt-store).
{% endhint %}

## Upgrading Bindplane Server

Upgrading the Bindplane Server is as simple as re-running the install script without the `--init` flag. A convenient piped one liner is below.

```bash
curl -fsSlL https://storage.googleapis.com/bindplane-op-releases/bindplane/latest/install-linux.sh | bash -s --
```

Additionally, if you want to upgrade to a specific version, you can do it using the below command. Replace 1.72.1 with the specific version you want.

```bash
curl -fsSlL https://storage.googleapis.com/bindplane-op-releases/bindplane/latest/install-linux.sh | bash -s -- --version 1.72.1
```

After upgrading you will need to restart the Bindplane Server.

```bash
sudo systemctl restart bindplane
```

## Downgrading Bindplane Server

{% hint style="danger" %}
**WARNING**

Downgrading is generally not recommended.
{% endhint %}

If you need to downgrade, please [contact the Bindplane support team](https://bindplane.com/support).

## Uninstall Bindplane Server

1. Stop the process:

```bash
sudo systemctl disable bindplane && sudo systemctl stop bindplane
```

2. Remove the package

* Debian and Ubuntu:

```bash
sudo apt-get remove bindplane-ee -y && sudo apt-get purge bindplane-ee -y
```

* CentOS and RHEL 8 and newer (use yum for anything older)

```bash
sudo dnf remove bindplane-ee -y
```

3. Optionally remove leftover data

```bash
sudo rm -rf /etc/bindplane /var/lib/bindplane /var/log/bindplane
```
