mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-23 00:32:13 +00:00

Basically sick of dealing with mixed formatting here. Going with the
number at
7c08e61b73/.editorconfig (L20)
1 KiB
1 KiB
The pip interface
uv provides a drop-in replacement for common pip
, pip-tools
, and virtualenv
commands. These
commands work directly with the virtual environment, in contrast to uv's primary interfaces where
the virtual environment is managed automatically. The uv pip
interface exposes the speed and
functionality of uv to power users and projects that are not ready to transition away from pip
and
pip-tools
.
The following sections discuss the basics of using uv pip
:
- Creating and using environments
- Installing and managing packages
- Inspecting environments and packages
- Declaring package dependencies
- Locking and syncing environments
Please note these commands do not exactly implement the interfaces and behavior of the tools they are based on. The further you stray from common workflows, the more likely you are to encounter differences. Consult the pip-compatibility guide for details.