Search

Search tools, categories and pages, or ask the assistant.

UV

docs.astral.sh

Ultra-fast Python package and project manager written in Rust by Astral.

Overview

uv is a single tool that replaces pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more. Written in Rust, it delivers 10-100x faster performance than pip while providing comprehensive project management with universal lockfiles, script execution with inline dependencies, Python version management, and tool installation capabilities.

The tool supports both simple workflows—like running standalone scripts with dependency metadata—and complex scenarios including Cargo-style workspaces, platform-independent resolutions, and reproducible builds. It offers a pip-compatible interface for familiar workflows with a performance boost, plus disk-space efficiency through global dependency caching.

uv is installable without requiring Rust or Python, runs on macOS, Linux, and Windows, and is backed by Astral, the creators of Ruff.

Key features

  • 10-100x faster than pip
  • Unified tool replacing pip, poetry, pyenv, pipx, and more
  • Universal lockfiles for reproducible builds
  • Inline script dependency metadata
  • Python version installation and management
  • Cargo-style workspace support
  • Global dependency cache for disk efficiency
  • pip-compatible interface
  • Cross-platform support (macOS, Linux, Windows)
Pros
  • Dramatically faster performance than traditional tools
  • Single tool consolidates multiple Python utilities
  • No Rust or Python required for installation
  • Comprehensive project and script management
  • Familiar pip interface for easy migration
  • Efficient caching reduces disk usage
Cons
  • pip interface does not exactly match pip behavior in all cases
  • Requires familiarity with new command structure for advanced features
  • Relatively newer tool compared to established alternatives
Use this if
You need a fast, unified Python package manager; you're migrating from pip, poetry, or pyenv; you work with monorepos; or you want to replace multiple Python tools with a single solution.
Skip this if
You require exact pip compatibility for all edge cases; you prefer pure Python implementations; or you need commercial support.

Best for

Python developers managing dependenciesTeams using monorepos and workspacesDevelopers migrating from pip or poetryRunning and installing Python-based CLI toolsManaging multiple Python versionsBuilding and publishing Python packages

Alternatives

pippoetrypipenvryepdm

Compare UV alternatives

More Devtool

Compare all
View Linear
LinearFeatured

Issue tracking built for speed, with a keyboard-first interface.

View PocketBase
PocketBaseFeatured

Open-source backend in a single file: database, auth, file storage, and admin UI.

View Mirrors
Mirrors

Regression testing platform that replays real agent sessions to catch mistakes before production.

View Social Fetch
Social Fetch

A unified REST API that returns live, structured data (profiles, posts, transcripts, metrics) from 23 social and web platforms.