uv 0.11.2


pip install uv

  Latest version

Released: Mar 26, 2026


Meta
Author: Astral Software Inc.
Requires Python: >=3.8

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Developers

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: 3.15
  • Python :: 3 :: Only
  • Rust

Topic
  • Software Development :: Quality Assurance
  • Software Development :: Testing
  • Software Development :: Libraries

uv

uv image image image Actions status Discord

An extremely fast Python package and project manager, written in Rust.

Shows a bar chart with benchmark results.

Installing Trio's dependencies with a warm cache.

Highlights

uv is backed by Astral, the creators of Ruff and ty.

Installation

Install uv with our standalone installers:

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Or, from PyPI:

# With pip.
pip install uv
# Or pipx.
pipx install uv

If installed via the standalone installer, uv can update itself to the latest version:

uv self update

See the installation documentation for details and alternative installation methods.

Documentation

uv's documentation is available at docs.astral.sh/uv.

Additionally, the command line reference documentation can be viewed with uv help.

Features

Projects

uv manages project dependencies and environments, with support for lockfiles, workspaces, and more, similar to rye or poetry:

$ uv init example
Initialized project `example` at `/home/user/example`

$ cd example

$ uv add ruff
Creating virtual environment at: .venv
Resolved 2 packages in 170ms
   Built example @ file:///home/user/example
Prepared 2 packages in 627ms
Installed 2 packages in 1ms
 + example==0.1.0 (from file:///home/user/example)
 + ruff==0.5.0

$ uv run ruff check
All checks passed!

$ uv lock
Resolved 2 packages in 0.33ms

$ uv sync
Resolved 2 packages in 0.70ms
Checked 1 package in 0.02ms

See the project documentation to get started.

uv also supports building and publishing projects, even if they're not managed with uv. See the publish guide to learn more.

Scripts

uv manages dependencies and environments for single-file scripts.

Create a new script and add inline metadata declaring its dependencies:

$ echo 'import requests; print(requests.get("https://astral.sh"))' > example.py

$ uv add --script example.py requests
Updated `example.py`

Then, run the script in an isolated virtual environment:

$ uv run example.py
Reading inline script metadata from: example.py
Installed 5 packages in 12ms
<Response [200]>

See the scripts documentation to get started.

Tools

uv executes and installs command-line tools provided by Python packages, similar to pipx.

Run a tool in an ephemeral environment using uvx (an alias for uv tool run):

$ uvx pycowsay 'hello world!'
Resolved 1 package in 167ms
Installed 1 package in 9ms
 + pycowsay==0.0.0.2
  """

  ------------
< hello world! >
  ------------
   \   ^__^
    \  (oo)\_______
       (__)\       )\/\
           ||----w |
           ||     ||

Install a tool with uv tool install:

$ uv tool install ruff
Resolved 1 package in 6ms
Installed 1 package in 2ms
 + ruff==0.5.0
Installed 1 executable: ruff

$ ruff --version
ruff 0.5.0

See the tools documentation to get started.

Python versions

uv installs Python and allows quickly switching between versions.

Install multiple Python versions:

$ uv python install 3.12 3.13 3.14
Installed 3 versions in 972ms
 + cpython-3.12.12-macos-aarch64-none (python3.12)
 + cpython-3.13.9-macos-aarch64-none (python3.13)
 + cpython-3.14.0-macos-aarch64-none (python3.14)

Download Python versions as needed:

$ uv venv --python 3.12.0
Using Python 3.12.0
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate

$ uv run --python pypy@3.8 -- python --version
Python 3.8.16 (a9dbdca6fc3286b0addd2240f11d97d8e8de187a, Dec 29 2022, 11:45:30)
[PyPy 7.3.11 with GCC Apple LLVM 13.1.6 (clang-1316.0.21.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>>

Use a specific Python version in the current directory:

$ uv python pin 3.11
Pinned `.python-version` to `3.11`

See the Python installation documentation to get started.

The pip interface

uv provides a drop-in replacement for common pip, pip-tools, and virtualenv commands.

uv extends their interfaces with advanced features, such as dependency version overrides, platform-independent resolutions, reproducible resolutions, alternative resolution strategies, and more.

Migrate to uv without changing your existing workflows — and experience a 10-100x speedup — with the uv pip interface.

Compile requirements into a platform-independent requirements file:

$ uv pip compile requirements.in \
   --universal \
   --output-file requirements.txt
Resolved 43 packages in 12ms

Create a virtual environment:

$ uv venv
Using Python 3.12.3
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate

Install the locked requirements:

$ uv pip sync requirements.txt
Resolved 43 packages in 11ms
Installed 43 packages in 208ms
 + babel==2.15.0
 + black==24.4.2
 + certifi==2024.7.4
 ...

See the pip interface documentation to get started.

Contributing

We are passionate about supporting contributors of all levels of experience and would love to see you get involved in the project. See the contributing guide to get started.

FAQ

How do you pronounce uv?

It's pronounced as "you - vee" (/juː viː/)

How should I stylize uv?

Just "uv", please. See the style guide for details.

What platforms does uv support?

See uv's platform support document.

Is uv ready for production?

Yes, uv is stable and widely used in production. See uv's versioning policy document for details.

Acknowledgements

uv's dependency resolver uses PubGrub under the hood. We're grateful to the PubGrub maintainers, especially Jacob Finkelman, for their support.

uv's Git implementation is based on Cargo.

Some of uv's optimizations are inspired by the great work we've seen in pnpm, Orogene, and Bun. We've also learned a lot from Nathaniel J. Smith's Posy and adapted its trampoline for Windows support.

License

uv is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in uv by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.

0.11.2 Mar 26, 2026
0.11.1 Mar 24, 2026
0.11.0 Mar 23, 2026
0.10.12 Mar 19, 2026
0.10.11 Mar 16, 2026
0.10.10 Mar 13, 2026
0.10.9 Mar 06, 2026
0.10.8 Mar 03, 2026
0.10.7 Feb 27, 2026
0.10.6 Feb 25, 2026
0.10.5 Feb 24, 2026
0.10.4 Feb 17, 2026
0.10.3 Feb 16, 2026
0.10.2 Feb 10, 2026
0.10.1 Feb 10, 2026
0.10.0 Feb 05, 2026
0.9.30 Feb 04, 2026
0.9.29 Feb 03, 2026
0.9.28 Jan 29, 2026
0.9.27 Jan 26, 2026
0.9.26 Jan 15, 2026
0.9.25 Jan 13, 2026
0.9.24 Jan 09, 2026
0.9.23 Jan 09, 2026
0.9.22 Jan 06, 2026
0.9.21 Dec 30, 2025
0.9.20 Dec 29, 2025
0.9.19 Dec 29, 2025
0.9.18 Dec 16, 2025
0.9.17 Dec 09, 2025
0.9.16 Dec 06, 2025
0.9.15 Dec 03, 2025
0.9.14 Dec 01, 2025
0.9.13 Nov 26, 2025
0.9.12 Nov 25, 2025
0.9.11 Nov 20, 2025
0.9.10 Nov 17, 2025
0.9.9 Nov 12, 2025
0.9.8 Nov 07, 2025
0.9.7 Oct 30, 2025
0.9.6 Oct 29, 2025
0.9.5 Oct 21, 2025
0.9.4 Oct 18, 2025
0.9.3 Oct 15, 2025
0.9.2 Oct 10, 2025
0.9.1 Oct 09, 2025
0.9.0 Oct 07, 2025
0.8.24 Oct 07, 2025
0.8.23 Oct 04, 2025
0.8.22 Sep 23, 2025
0.8.21 Sep 23, 2025
0.8.20 Sep 22, 2025
0.8.19 Sep 19, 2025
0.8.18 Sep 17, 2025
0.8.17 Sep 10, 2025
0.8.16 Sep 10, 2025
0.8.15 Sep 03, 2025
0.8.14 Aug 28, 2025
0.8.13 Aug 21, 2025
0.8.12 Aug 18, 2025
0.8.11 Aug 14, 2025
0.8.10 Aug 13, 2025
0.8.9 Aug 12, 2025
0.8.8 Aug 09, 2025
0.8.7 Aug 08, 2025
0.8.6 Aug 07, 2025
0.8.5 Aug 05, 2025
0.8.4 Jul 30, 2025
0.8.3 Jul 24, 2025
0.8.2 Jul 22, 2025
0.8.1 Jul 22, 2025
0.8.0 Jul 17, 2025
0.7.22 Jul 17, 2025
0.7.21 Jul 14, 2025
0.7.20 Jul 09, 2025
0.7.19 Jul 02, 2025
0.7.18 Jul 01, 2025
0.7.17 Jun 29, 2025
0.7.16 Jun 27, 2025
0.7.15 Jun 25, 2025
0.7.14 Jun 23, 2025
0.7.13 Jun 12, 2025
0.7.12 Jun 06, 2025
0.7.11 Jun 04, 2025
0.7.10 Jun 03, 2025
0.7.9 May 30, 2025
0.7.8 May 24, 2025
0.7.7 May 22, 2025
0.7.6 May 20, 2025
0.7.5 May 17, 2025
0.7.4 May 15, 2025
0.7.3 May 07, 2025
0.7.2 Apr 30, 2025
0.7.1 Apr 30, 2025
0.7.0 Apr 29, 2025
0.6.17 Apr 25, 2025
0.6.16 Apr 22, 2025
0.6.15 Apr 22, 2025
0.6.14 Apr 09, 2025
0.6.13 Apr 07, 2025
0.6.12 Apr 02, 2025
0.6.11 Mar 30, 2025
0.6.10 Mar 26, 2025
0.6.9 Mar 20, 2025
0.6.8 Mar 18, 2025
0.6.7 Mar 17, 2025
0.6.6 Mar 12, 2025
0.6.5 Mar 06, 2025
0.6.4 Mar 03, 2025
0.6.3 Feb 24, 2025
0.6.2 Feb 19, 2025
0.6.1 Feb 17, 2025
0.6.0 Feb 14, 2025
0.5.31 Feb 12, 2025
0.5.30 Feb 10, 2025
0.5.29 Feb 06, 2025
0.5.28 Feb 05, 2025
0.5.27 Feb 03, 2025
0.5.26 Jan 30, 2025
0.5.25 Jan 28, 2025
0.5.24 Jan 24, 2025
0.5.23 Jan 23, 2025
0.5.22 Jan 21, 2025
0.5.21 Jan 17, 2025
0.5.20 Jan 15, 2025
0.5.19 Jan 15, 2025
0.5.18 Jan 11, 2025
0.5.17 Jan 10, 2025
0.5.16 Jan 08, 2025
0.5.15 Jan 07, 2025
0.5.14 Jan 02, 2025
0.5.13 Dec 27, 2024
0.5.12 Dec 26, 2024
0.5.11 Dec 20, 2024
0.5.10 Dec 17, 2024
0.5.9 Dec 13, 2024
0.5.8 Dec 11, 2024
0.5.7 Dec 07, 2024
0.5.6 Dec 03, 2024
0.5.5 Nov 27, 2024
0.5.4 Nov 20, 2024
0.5.3 Nov 19, 2024
0.5.2 Nov 14, 2024
0.5.1 Nov 08, 2024
0.5.0 Nov 07, 2024
0.4.30 Nov 05, 2024
0.4.29 Oct 30, 2024
0.4.28 Oct 28, 2024
0.4.27 Oct 25, 2024
0.4.26 Oct 23, 2024
0.4.25 Oct 21, 2024
0.4.24 Oct 18, 2024
0.4.23 Oct 17, 2024
0.4.22 Oct 15, 2024
0.4.21 Oct 14, 2024
0.4.20 Oct 08, 2024
0.4.19 Oct 07, 2024
0.4.18 Oct 01, 2024
0.4.17 Sep 27, 2024
0.4.16 Sep 24, 2024
0.4.15 Sep 21, 2024
0.4.14 Sep 20, 2024
0.4.13 Sep 19, 2024
0.4.12 Sep 18, 2024
0.4.11 Sep 18, 2024
0.4.10 Sep 13, 2024
0.4.9 Sep 10, 2024
0.4.8 Sep 09, 2024
0.4.7 Sep 07, 2024
0.4.6 Sep 05, 2024
0.4.5 Sep 04, 2024
0.4.4 Sep 04, 2024
0.4.3 Sep 02, 2024
0.4.2 Sep 01, 2024
0.4.1 Aug 30, 2024
0.4.0 Aug 28, 2024
0.3.5 Aug 27, 2024
0.3.4 Aug 26, 2024
0.3.3 Aug 23, 2024
0.3.2 Aug 23, 2024
0.3.1 Aug 21, 2024
0.3.0 Aug 20, 2024
0.2.37 Aug 16, 2024
0.2.36 Aug 13, 2024
0.2.35 Aug 10, 2024
0.2.34 Aug 07, 2024
0.2.33 Aug 01, 2024
0.2.32 Jul 30, 2024
0.2.31 Jul 29, 2024
0.2.30 Jul 26, 2024
0.2.29 Jul 24, 2024
0.2.28 Jul 23, 2024
0.2.27 Jul 19, 2024
0.2.26 Jul 17, 2024
0.2.25 Jul 15, 2024
0.2.24 Jul 10, 2024
0.2.23 Jul 08, 2024
0.2.22 Jul 07, 2024
0.2.21 Jul 03, 2024
0.2.20 Jul 02, 2024
0.2.19 Jul 02, 2024
0.2.18 Jun 29, 2024
0.2.17 Jun 26, 2024
0.2.16 Jun 26, 2024
0.2.15 Jun 24, 2024
0.2.14 Jun 20, 2024
0.2.13 Jun 18, 2024
0.2.12 Jun 17, 2024
0.2.11 Jun 12, 2024
0.2.10 Jun 10, 2024
0.2.9 Jun 06, 2024
0.2.8 Jun 05, 2024
0.2.7 Jun 05, 2024
0.2.6 Jun 03, 2024
0.2.5 May 28, 2024
0.2.4 May 26, 2024
0.2.3 May 24, 2024
0.2.2 May 22, 2024
0.2.1 May 22, 2024
0.2.0 May 22, 2024
0.1.45 May 20, 2024
0.1.44 May 14, 2024
0.1.43 May 14, 2024
0.1.42 May 08, 2024
0.1.41 May 08, 2024
0.1.40 May 07, 2024
0.1.39 Apr 27, 2024
0.1.38 Apr 24, 2024
0.1.37 Apr 23, 2024
0.1.36 Apr 22, 2024
0.1.35 Apr 20, 2024
0.1.34 Apr 19, 2024
0.1.33 Apr 17, 2024
0.1.32 Apr 15, 2024
0.1.31 Apr 09, 2024
0.1.30 Apr 09, 2024
0.1.29 Apr 04, 2024
0.1.28 Apr 02, 2024
0.1.27 Apr 01, 2024
0.1.26 Mar 28, 2024
0.1.25 Mar 28, 2024
0.1.24 Mar 22, 2024
0.1.23 Mar 21, 2024
0.1.22 Mar 18, 2024
0.1.21 Mar 14, 2024
0.1.20 Mar 14, 2024
0.1.19 Mar 14, 2024
0.1.18 Mar 13, 2024
0.1.17 Mar 10, 2024
0.1.16 Mar 07, 2024
0.1.15 Mar 05, 2024
0.1.14 Mar 04, 2024
0.1.13 Feb 29, 2024
0.1.12 Feb 28, 2024
0.1.11 Feb 26, 2024
0.1.10 Feb 23, 2024
0.1.9 Feb 23, 2024
0.1.8 Feb 22, 2024
0.1.7 Feb 22, 2024
0.1.6 Feb 20, 2024
0.1.5 Feb 19, 2024
0.1.4 Feb 17, 2024
0.1.3 Feb 17, 2024
0.1.2 Feb 16, 2024
0.1.1 Feb 15, 2024
0.1.0 Feb 15, 2024
0.0.5 Feb 15, 2024

Wheel compatibility matrix

Platform Python 3
linux_armv6l
macosx_10_12_x86_64
macosx_11_0_arm64
manylinux2014_aarch64
manylinux2014_armv7l
manylinux2014_i686
manylinux2014_ppc64le
manylinux2014_s390x
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_armv7l
manylinux_2_17_i686
manylinux_2_17_ppc64le
manylinux_2_17_s390x
manylinux_2_17_x86_64
manylinux_2_28_aarch64
manylinux_2_31_riscv64
musllinux_1_1_aarch64
musllinux_1_1_armv7l
musllinux_1_1_i686
musllinux_1_1_riscv64
musllinux_1_1_x86_64
win32
win_amd64
win_arm64

Files in release

No dependencies