Fast Python Environments With uv

Create virtual environments and install packages far faster than pip.

macOSpackagespythonpipLow risk
Run uv venv to create .venv, then activate it and use uv pip install for packages.

01Command

Command
$ uv venv && source .venv/bin/activate

02What it does

uv is a Rust implementation of Python packaging that can replace pip, venv and pip-tools with much lower latency. It resolves and installs in parallel, respects pyproject.toml, and can also manage Python versions with uv python install.

03Risk

RiskLow risk
CompatibilitymacOS with Homebrew installed
!Warning: uv is young and evolving; test lockfiles in CI before relying on them for production builds.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Homebrew formula: uv
    Homebrew · vendor-doc · 2026-09-20
    Evidence: Extremely fast Python package installer and resolver, written in Rust. Packages uv, an extremely fast Python package and environment manager.
  • Official project documentation
    Official project · vendor-doc · 2026-09-20
    Evidence: Packages uv, an extremely fast Python package and environment manager.

Last verified: 2026-09-22 · Category: Developer