| name | uv-0-11-23 |
| description | Manages Python packages, projects, scripts, tools, and Python versions with extreme speed. Use when the user mentions uv, python packages, pip replacement, virtual environments, venv, pyproject.toml, dependency management, python version switching, tool installation (uvx), script dependencies, lockfiles, workspace management, or any Python packaging task. Replaces pip, pip-tools, pipx, poetry, pyenv, twine, and virtualenv.
|
uv 0.11.23
An extremely fast Python package and project manager written in Rust. A single tool replacing pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more — 10-100x faster than pip.
Overview
uv provides four main interfaces:
- Projects — Full project management with lockfiles, workspaces, and environments (
uv init, uv add, uv run, uv sync, uv lock)
- Scripts — Run Python scripts with on-demand dependency resolution, including inline metadata (PEP 723)
- Tools — Install and run CLI tools from Python packages, like
pipx (uvx, uv tool install)
- Python versions — Install and manage Python interpreters, auto-downloading as needed
It also includes a pip-compatible interface (uv pip install, uv pip compile, uv venv) for gradual migration from existing workflows.
Usage
Projects
uv init my-project
uv add requests flask
uv add
uv remove requests
uv run python main.py
uv run -- flask run -p 3000
uv lock
uv
uv build
uv tree