mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-22 11:34:25 +00:00
1.2 KiB
1.2 KiB
uv
Fast Python package and project manager written in Rust.
TL;DR
Setup
brew install 'uv'
docker pull 'ghcr.io/astral-sh/uv:0.10.4-python3.12-trixie'
pip install 'uv'
pipx install 'uv'
Usage
# Install applications.
# Similar to `pipx install`.
uv tool install 'ansible'
# List installed applications.
uv tool list
# Run applications.
# Similar to `pipx run`.
uv tool run 'vllm'
uvx 'vllm' # alias for `uv tool run`
# Create virtual environments.
uv venv '.venv'
uv venv '.venv' --allow-existing --python 'python3.12' --seed
# Clear the cache.
uv cache clean