How to upgrade uv
Tip
Try my command line tool uvx uvhow for a quick view into your uv install and how to upgrade it. Learn more.
This guide shows you how to upgrade uv to the latest version using your original installation method.
To upgrade uv, run uv self update if you installed it with the standalone installer, the most common method. If you installed uv through a package manager, use that manager’s upgrade command instead:
| Install method | Upgrade command |
|---|---|
| Standalone installer | uv self update |
| Homebrew | brew upgrade uv |
| pipx | pipx upgrade uv |
| pip | pip install --upgrade uv |
| WinGet | winget upgrade astral-sh.uv |
| Scoop | scoop update uv |
| Cargo | cargo install --git https://github.com/astral-sh/uv uv --force |
The sections below cover each method in detail.
Standalone Installer (Shell Script/PowerShell)
If you installed uv using the standalone installer (curl/powershell), simply run:
uv self updatepipx
If you installed uv via pipx, upgrade using:
pipx upgrade uvpip
If you installed uv with pip, upgrade using:
pip install --upgrade uvFor system-wide installations, you may need:
pip install --upgrade --user uvHomebrew
If you installed uv via Homebrew, upgrade using:
brew upgrade uvTo upgrade all Homebrew packages:
brew upgradeCargo
If you installed uv via Cargo, reinstall to upgrade:
cargo install --git https://github.com/astral-sh/uv uv --forceThe --force flag overwrites the existing installation.
WinGet
If you installed uv via WinGet, upgrade using:
winget upgrade astral-sh.uvTo upgrade all WinGet packages:
winget upgrade --allScoop
If you installed uv via Scoop, upgrade using:
scoop update uvTo update all Scoop packages:
scoop update *Verifying the Upgrade
After upgrading, verify the new version:
uv --versionTip
For most users, uv self update is the easiest upgrade method. It only works with standalone installer installations, but these are the most common installation method.
Keep your managed Python interpreters current too
Upgrading uv doesn’t touch the Python versions it manages. To pull the latest patch releases for those, see how to keep Python up to date with uv python upgrade.
Learn More
- uv: A Complete Guide covers what uv does, how fast it is, the core workflows, and recent releases.
- How to install Python with uv
- uv reference documentation