> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leamout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrade

> Install the runtime bundle staged for the current production CLI version.

Upgrade with:

```bash theme={null}
sudo leamout update
```

The current update command requires a versioned production CLI. It validates deployment identity and configuration, installs the runtime bundle staged for that exact CLI version, pulls the declared images, and converges the Compose runtime with `--remove-orphans`.

After the update completes, run:

```bash theme={null}
sudo leamout doctor
```

A development CLI refuses to perform a production update.

<Note>
  Automatic pre-update backup and complete telecom drain orchestration are separate work from the current update command. Plan your production maintenance procedure accordingly.
</Note>
