Skip to content

uv

An extremely fast Python package and project manager, written in Rust.

run executable

this will run cowsay in its own virtual environment and execute it directly, similar to pipx

uvx cowsay -t sup

install different python versions

it uses the latest patch version automatically

uv python install 3.13

create virtual environment

request a specific python version and create a venv:

uv venv --python 3.13

clean cache

uv cache clean

uv tool - install python binaries

install a python binary using uv tool right into your PATH, not scoped to a project:

uv tool install yamllint

sometimes you need additional binaries with a package, for example ansible. you can use the --with flag:

uv tool install --with ansible ansible-core

managing packages

install with pip interface

with the pip interface

uv pip install <python package>

add package to project

uv init
uv add sqlite-utils