# openrail upgrade

> Upgrade the install: the control plane first, then each agent.

Upgrade the install: the control plane first, then each agent.

## Usage

```sh
openrail upgrade [--version vX.Y.Z]
```

## Flags

| Flag | Meaning |
|---|---|
| `--version` | Release to install (default: latest stable) |

## Details

- Admin only. The command waits and reports the result. If the new version is not healthy within 90 seconds it reverts itself. See [Upgrading](https://openrail.app/docs/guides/upgrading).

## Railway equivalent

Railway has no equivalent.

Every command also accepts the [global options](https://openrail.app/docs/cli/global-options).
