Skip to main content
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.
ax upgrade [--pip] [--pipx] [--uv]
OptionDescription
--pipUpgrade using pip
--pipxUpgrade using pipx
--uvUpgrade using uv tool
Specify at most one package manager flag. If none is provided, you are prompted to select one interactively.
After upgrading, restart any running shells or terminals to pick up the new version.
Examples:
# 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