Frequent uv Commands
Frequent uv Commands
Install all packages from pyproject.toml
uv pip install --editable . reads pyproject.toml and installs every declared dependency.
uv sync
uv sync -v for verbose logs
Delete uv cache to save disk space
uv cache clean
Running python scripts without activating the venv
uv run script.py
Invoke CLI tools in terminal (works even without activating virtual environment)
uv run -- trl
uv run -- trackio
uv run -- python
This post is licensed under CC BY 4.0 by the author.