How to install uv
Install uv on a Mac or Linux using the official installer script:
curl -LsSf https://astral.sh/uv/install.sh | sh
If your system doesn’t have curl
, use wget
instead:
wget -qO- https://astral.sh/uv/install.sh | sh
Open PowerShell and run:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
The -ExecutionPolicy ByPass
flag allows running the installation script from the internet.
Verifying Installation
After installation, restart your terminal and verify uv is working:
uv --version
Learn More
Last updated on