> For the complete documentation index, see [llms.txt](https://docs.bindplane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bindplane.com/deployment/virtual-machine/bindplane/upgrade-or-uninstall-bindplane-server.md).

# 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](/configuration/bindplane/backup-and-disaster-recovery/bolt-store.md).
{% 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
```

### Older Transform Agent binaries

Each Bindplane release ships a versioned Transform Agent binary into `/var/lib/bindplane/transform-agents/`. Older `bta-v*` binaries are left in place during upgrades, and on service start the Bindplane Server launches every binary in this directory as a subprocess to support Live Preview for collectors on different versions.

If you'd prefer not to keep older `bta-v*` binaries around, you're free to remove all but the latest. The server runs fine with every version present; trimming simply reduces startup time and idle subprocesses. The change takes effect at the next service start.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bindplane.com/deployment/virtual-machine/bindplane/upgrade-or-uninstall-bindplane-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
