CLIActive

uv

A fast Python package and project manager with extensive configuration settings.

Open source page

Product features

Product features

Add Dependencies

Add dependencies to pyproject.toml with uv add.

Alternative Sources

Install tools from git or other sources using --from.

Audit and Security

Settings for audit, ignore, malware check, and trusted publishing.

Build package

Build a Python package into source and binary distributions.

Bump version

Increase version components like major, minor, patch, etc.

Configuration Settings

Configure cache, concurrency, index, proxy, and other runtime settings.

Dependency Cache

Local cache to avoid re-downloading and re-building dependencies.

Dry run

Preview version changes without modifying files.

Environment variables

Configures uv behavior via environment variables.

Extra Support

Include extras when running tools via --from.

Global Cache

Disk-space efficient with a global cache for dependency deduplication.

Initialize Project

Create a new Python project with uv init.

Inline Script Metadata

Supports running scripts with inline dependency metadata.

Install Specific Version

Install a specific Python version using `uv python install 3.12`.

List Python Versions

View available and installed Python versions with `uv python list`.

Lock Dependencies

Generate or update lockfile with uv lock.

Locking Dependencies

Lock dependencies to ensure reproducibility.

Managed Python Install

Install managed Python versions with uv python install.

--no-project Flag

Skip project installation when running scripts.

Persistent Install

Install tools to a persistent environment and add to PATH.

Pip Interface

Options for pip-compatible behavior like annotation style, hash generation, and output file.

Plugin Support

Include additional dependencies when running tools.

Project Metadata

Define project metadata such as build-constraint-dependencies, conflicts, and dependency groups.

Publish package

Upload a package to a registry such as PyPI.

Documented feature

Reinstall Python

Reinstall uv-managed Python versions with `--reinstall`.

Remove Dependencies

Remove dependencies with uv remove.

Run Commands

Run project commands with uv run.

Read Script from stdin

Execute scripts directly from stdin.

Sync Environment

Sync the project environment with uv sync.

Tool Installation

Install Python packages as command-line tools using uv tool install.

Trusted Publisher

Publish to PyPI without credentials using Trusted Publisher.

Universal Lockfile

Provides a universal lockfile for reproducible environments.

Update version

Conveniently update the package version before publishing.

Upgrade Python

Upgrade Python versions to latest patch release with `uv python upgrade`.

uv add

Add dependencies to the project.

uv build

Build Python packages into source distributions and wheels.

uv export

Export the project's lockfile to an alternate format.

uv init

Create a new project.

uv lock

Update the project's lockfile.

uv pip

Manage Python packages with a pip-compatible interface.

uv run

Run a command or script.

uv sync

Update the project's environment.

uvx Command

Invoke a tool without installing it, using a temporary isolated environment.

Version Selection

Run tools at specific versions using command@version syntax or --from with constraints.

--with Option

Request additional dependencies per invocation.