mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00

A ton of work remaining here, pushing so I can preview things rendered. Here's the [latest rendered documentation](https://astral-sh.github.io/uv/).
3.5 KiB
3.5 KiB
An extremely fast Python package installer and resolver, written in Rust. Designed as a drop-in
replacement for common pip
and pip-tools
workflows.
Installing the Trio dependencies with a warm cache.
Highlights
- ⚖️ Drop-in replacement for common
pip
,pip-tools
, andvirtualenv
commands. - ⚡️ 10-100x faster than
pip
andpip-tools
(pip-compile
andpip-sync
). - 💾 Disk-space efficient, with a global cache for dependency deduplication.
- 🐍 Installable via
curl
,pip
,pipx
, etc. uv is a static binary that can be installed without Rust or Python. - 🧪 Tested at-scale against the top 10,000 PyPI packages.
- 🖥️ Support for macOS, Linux, and Windows.
- 🧰 Advanced features such as dependency version overrides, multi-platform resolutions, reproducible resolutions, alternative resolution strategies, and more.
- ⁉️ Best-in-class error messages with a conflict-tracking resolver.
- 🤝 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 is backed by Astral, the creators of Ruff.
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"
Or, see our installation guide for more options.
Then, check out our documentation creating an environment.
Features
uv supports features familiar from pip
and pip-tools
:
uv also supports many advanced features: