Skip to content

uv

Agent-readyLocal AIPackage Management

Python envs, fast installs, and script execution from the terminal.

Python envs, fast installs, and script execution from the terminal. Built by Astral. Start with `uv init demo` and go from there.

Task fit

python envs, fast installs, and script execution from the terminal.

Lane

Set up coding agents, local models, and AI-first terminal workflows.

Operator brief

Use uv for python envs, fast installs, and script execution from the terminal.

Run `cd demo` to see it in action.

Repository family

Astral

First trust check

uv responds locally and is ready for the first real command.

Safe first loop

Install, verify, then run one real command.

Agent capability loop

Install command

$ brew install uv

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ uv --version

uv responds locally and is ready for the first real command.

First real command

$ uv init demo && cd demo && uv run main.py

First steps

  1. 01Install uv.
  2. 02Run `uv --version` first.
  3. 03Start with `uv init demo && cd demo && uv run main.py`.
  4. 04Install the CLI and any required runtime, model, or Python environment.

When to use / hold off when

Best for

python envs, fast installs, and script execution from the terminal.

Use this when

You need packages and builds in both local dev and CI.

Hold off when

You don't work with packages and builds.

Trust and constraints

trusted100/100
Install readyTrusted
JSON outputNo
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • uv fits local ai well, especially for python envs, fast installs, and script execution from the terminal.
  • 209,443 homebrew installs (30d).
  • Easy to automate.

Constraints

  • Output is mostly plain text.

Facts and links

Install withbrew
Homebrew installs (30d)209.4K
GitHub stars82K
LicenseApache-2.0
UpdatedMar 25, 2026