# Update the validator

There is no automatic update for the validator yet. To update, run the installer again:

```sh
curl -fsSL https://raw.githubusercontent.com/Subnet46/v2-sn46-validator/dev/install.sh | sh -s -- --system
sudo systemctl restart sn46-signer
```

The installer names each running unit to restart; on the watchdog host, that is `sn46-watchdog`.

To install a given release, set `SN46_VERSION` to one from the [releases page](https://github.com/Subnet46/v2-sn46-validator/releases):

```sh
curl -fsSL https://raw.githubusercontent.com/Subnet46/v2-sn46-validator/dev/install.sh | SN46_VERSION=v0.1.7 sh -s -- --system
```

The same command with an older version rolls back. Your configs and keys are never touched; new example files in `/etc/sn46` show any new field.

Check the installed release with `sn46-signer --version`.
