
I just need to iterate on everything and we're not doing a lot of reviews anyway. Closes #5234 Closes #5191
3 KiB
An extremely fast Python version, package, and project manager, written in Rust.
Installing the Trio dependencies with a warm cache.
Highlights
- 🐍 Installs and manages Python versions.
- 🛠️ Executes and installs commands provided by Python packages.
- ❇️ Runs scripts with inline dependency metadata.
- 🗂️ Provides comprehensive project management, with a multi-platform lock file.
- 🏢 Supports Cargo-style workspaces for large projects.
- 🚀 A replacement for
pip
,pip-tools
,pipx
,poetry
,pyenv
, and more. - ⚡️ 10-100x faster than
pip
andpip-tools
(pip-compile
andpip-sync
). - 🧪 Tested at-scale against the top 10,000 PyPI packages.
- 💾 Disk-space efficient, with a global cache for dependency deduplication.
- ⁉️ Best-in-class error messages with a conflict-tracking resolver.
- ⏬ A static binary that can be installed without Rust or Python via
curl
orpip
. - 🖥️ Support for macOS, Linux, and Windows.
uv is backed by Astral, the creators of Ruff.
Replacement for pip
and pip-tools
uv provides a drop-in replacement for common pip
, pip-tools
, and virtualenv
commands with support for
a wide range of advanced pip
features, including editable installs, Git dependencies, direct URL dependencies, local dependencies, constraints, source distributions, HTML and JSON indexes, and more.
uv extends these interfaces with advanced features, such as dependency version overrides, multi-platform resolutions, reproducible resolutions, alternative resolution strategies, and more.
Getting started
Install uv with our official standalone installer:
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Then, check out the first steps or see more installation methods.