---
title: "Upgrades"
description: "Upgrade HolaClaw Server to a new release in a container, as a system or user service, or on NixOS, and migrate the config format."
updated: 2026-11-16
canonical: https://holaclaw.ai/docs/server/upgrades
---

Upgrading HolaClaw Server is two steps: install the new release the way your deployment does, then run `holaclaw config migrate`. The database migrates by itself at start.

We recommend that you [take a backup](/docs/server/backups) before upgrading.

## Step 1: Install the new release

### Container

```sh
docker pull ghcr.io/ikitana/holaclaw:latest
docker rm -f holaclaw
# run the same `docker run` you started it with
```

The volumes keep everything. To stay on a known version, use a `vX.Y.Z` tag instead of `latest`.

### System service

Download and verify the new release as in [Install on Debian and Ubuntu](/docs/server/debian#step-1-download-and-verify-the-release), then:

```sh
sudo install -m 755 "holaclaw-linux-$arch" /usr/local/bin/holaclaw
sudo install -m 644 holaclaw.service /etc/systemd/system/holaclaw.service
sudo systemctl daemon-reload && sudo systemctl restart holaclaw
```

With the browser, install the new `holaclaw-browser.service` too, and restart `holaclaw-browser`.

### Your own user

Install the new binary over `~/.local/bin/holaclaw`, then `systemctl --user restart holaclaw`.

### NixOS

Update the flake input (`nix flake update holaclaw`) and switch.

## Step 2: Migrate the config

```sh
holaclaw config migrate
```

It says whether the config format changed and prints the diff. To apply it:

```sh
holaclaw config migrate --write
```

`--write` takes a timestamped backup of the files before changing them. Then run `holaclaw check --offline` and restart.

## Verify a release

Every file of a release and every image is signed by HolaClaw Server's release workflow, and can be checked with `cosign`. The repository's [security guide](https://github.com/ikitana/holaclaw/blob/main/docs/security.md#verifying-a-release) gives the exact commands.

