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

# Upgrade

> Upgrade the AX CLI to the latest version

The `ax upgrade` command fetches the latest version from PyPI and runs the appropriate upgrade command for your package manager.

## `ax upgrade`

Upgrade `ax` to the latest version. If the current version is already up to date, the command exits with a success message.

```bash theme={null}
ax upgrade [--pip] [--pipx] [--uv]
```

| Option   | Description             |
| -------- | ----------------------- |
| `--pip`  | Upgrade using `pip`     |
| `--pipx` | Upgrade using `pipx`    |
| `--uv`   | Upgrade using `uv tool` |

Specify at most one package manager flag. If none is provided, you are prompted to select one interactively.

<Note>
  After upgrading, restart any running shells or terminals to pick up the new version.
</Note>

**Examples:**

```bash theme={null}
# Interactive — prompts for package manager selection
ax upgrade

# Upgrade using pip
ax upgrade --pip

# Upgrade using pipx
ax upgrade --pipx

# Upgrade using uv
ax upgrade --uv
```
