Install uv

uv is installed once per computer (not once per project), and then used everywhere. Choose the instructions for your operating system below.

Open PowerShell or Command Prompt and run:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

An alternative, if you have WinGet available, is:

winget install --id=astral-sh.uv -e

Open Terminal and run:

curl -LsSf https://astral.sh/uv/install.sh | sh

If you use Homebrew, another option is:

brew install uv

Open a terminal and run:

curl -LsSf https://astral.sh/uv/install.sh | sh

Close and reopen your terminal if the installer asks you to (this refreshes your shell’s PATH so it can find the new command), then check the install worked:

uv --version
uv 0.9.6

You should see a version number — the exact numbers will differ depending on when you install it, which is fine.

Warning

Only run installation commands from sources you trust. The commands above are taken from the official uv installation documentation; prefer fetching them from that page directly if you are ever unsure whether a copy you have seen elsewhere has been altered.