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

# upgrade

> Upgrade the CLI to its latest version.

Upgrade the Talos CLI to the latest version published on npm. The command checks the npm registry for the newest release and compares it with your installed version:

* If you are already on the latest version, it reports that and exits without doing anything.
* If a newer version is available, it installs it globally with `bun add -g @talosjs/cli@latest` and confirms the new version.

If the registry cannot be reached, the command reports the error and prints the manual upgrade command so you can run it yourself.

Run [`version`](/cli/commands/version) afterwards to confirm the installed version.

## Usage

```bash theme={null}
talos upgrade [options]
```

## Examples

```bash theme={null}
talos upgrade
oo upgrade
```

Upgrade manually if the automatic install fails:

```bash theme={null}
bun add -g @talosjs/cli@latest
```

## Options

This command takes no options.
