C.W.K.
Stream
Lesson 02 of 05 · published

Install uv

~6 min · uv, installation

Level 0Newbie
0 XP0/55 lessons0/16 achievements
0/80 XP to next level80 XP to go0% complete

uv is a single static binary. Two install paths.

Standalone installer (recommended): curl -LsSf https://astral.sh/uv/install.sh | sh. The installer drops the binary at ~/.local/bin/uv (or similar) and adds it to your PATH. Restart your shell.

Homebrew: brew install uv. Slower install but keeps uv in your Brewfile.

Verify with uv --version. Upgrade with uv self update (the standalone installer's upgrade) or brew upgrade uv.

uv ships fast — typically a release every 1-2 weeks. Upgrade often.

Code

Two install paths·bash
# Path 1 — standalone installer (recommended, fastest)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Restart shell, then verify
uv --version
# uv 0.x.x

# Path 2 — Homebrew
brew install uv

# Upgrade
uv self update            # standalone install
brew upgrade uv           # Homebrew install

External links

Exercise

Install uv via the standalone installer. Then run 'uv python list' — see every Python version uv knows about. Then 'uv python install 3.13' to install a managed Python. You now have a Python version manager built in, no pyenv needed.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.