Installing uv
- macOS / Linux
- Windows
- Homebrew
Inside the course Docker containers, uv is already installed. You only need to install it locally if you are working outside Docker.
Managing Python versions
uv can install and manage Python versions directly, no need for pyenv or system package managers:Virtual environments
uv creates and manages virtual environments:.venv/ by default. Activate it with:
Installing packages
uv provides a pip-compatible interface for installing packages:Project management
For projects with apyproject.toml (like the course repository), uv provides higher-level commands:
uv.lock file is a cross-platform lockfile that ensures reproducible installs across machines and operating systems.
Course workflow
Inside the course Docker container, dependencies are pre-installed. The typical workflow is:Why uv over pip or conda
Useful commands reference
For the full documentation, see docs.astral.sh/uv.

