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

# vesslctl update

> Upgrade vesslctl in place to the latest released version.

The `update` command checks for a newer release of `vesslctl` and replaces the running binary in place. The CLI also prints an "update available" notice on every command when a newer version is detected, so you can run `vesslctl update` whenever you see the prompt.

## update

```bash theme={null}
vesslctl update
```

| Flag    | Short | Description                                                                     |
| ------- | ----- | ------------------------------------------------------------------------------- |
| `--yes` | `-y`  | Skip the confirmation prompt and update immediately. Useful for scripts and CI. |

When you run `vesslctl update`:

1. The CLI fetches the latest release version.
2. If you are already on the latest version, it prints a confirmation and exits.
3. Otherwise, it shows the current and target versions and asks for confirmation. Pass `--yes` to skip the prompt.
4. The new binary is downloaded and replaces the current one in place.

**Examples:**

```bash theme={null}
# Interactive update (default)
vesslctl update

# Skip the prompt — useful for scripts
vesslctl update --yes
```

<Note>
  `vesslctl update` always replaces the binary at its current location. You don't need to redownload through the install script after the first install.
</Note>

<Tip>
  If `vesslctl update` reports that it cannot write to the install path, re-run with the elevated permissions you used when installing (for example, `sudo vesslctl update`), or reinstall to a path you own with `vesslctl install --dir ~/.local/bin`.
</Tip>
