# Update a Server

> [!TIP] Self-hosted Server Release Lag
> Self-hosted server releases lag several days behind cloud server releases. Please note that the [System Administrator Portal](https://bitwarden.com/it-it/help/system-administrator-portal/) may report an available update **before** it is available for self-hosted servers.
> 
> Additionally, please review Bitwarden [software release support](https://bitwarden.com/it-it/help/bitwarden-software-release-support/#release-support-at-bitwarden/) documentation.

**It is critically important to keep your self-hosted Bitwarden instance up to date.** Updates may include fixes that are important for the security of your Bitwarden instance, including patches to any vulnerabilities. Data stored in your Bitwarden vault, including passwords, should be considered critical data and therefore protected with up-to-date software.

 Additionally, newer versions of client applications may not support older versions of your self-hosted instance.

You can subscribe to email notifications for self-hosted server releases by navigating to [this repository](https://github.com/bitwarden/self-host) and selecting **Watch** → **Custom** → **Releases**.

> [!NOTE]
> We highly recommend backing up your data before updating your self-hosted instance. For more information, see [Backup your Hosted Data](https://bitwarden.com/it-it/help/backup-on-premise/).

## 

### Update Docker

### Update standard deployment

If you're running a standard installation, update your Bitwarden instance using the same Bash (Linux or macOS) or PowerShell (Windows) script (`bitwarden.sh`) used to install Bitwarden. Run the following sequence of commands:

🐧 🍎 Bash

```
./bitwarden.sh updateself
./bitwarden.sh update
```

🪟 PowerShell

```
.\bitwarden.ps1 -updateself
.\bitwarden.ps1 -update
```

### Update offline deployment

If you're running a [manually-installed](https://bitwarden.com/it-it/help/install-on-premise-manual/#update-your-server/) or an [offline Linux](https://bitwarden.com/it-it/help/install-and-deploy-offline/#update-your-server/) or [offline Windows](https://bitwarden.com/it-it/help/install-and-deploy-offline-windows/#update-your-server/) installation, follow the procedures in the linked articles.

Your Bitwarden installation should now be fully up to date and running.

### Update Helm

If you are running a Helm installation, use the following steps to update your deployment:

1. Before updating your Helm deployment, pull the latest Bitwarden Helm chart:

```bash
helm repo update
```
2. Check for changes in the latest version of the chart. Perform a diff between the `new-defaults.yaml` and your `my-values.yaml`. Copy-over any updates to your `my-values.yaml` before proceeding.

```bash
helm show values bitwarden/self-host --version <new-version-number> > new-defaults.yaml
```
3. Next, update your Bitwarden installation using your `my-values.yaml` file:

```bash
helm upgrade bitwarden bitwarden/self-host --namespace bitwarden --values my-values.yaml
```