Skip to content

uv User Guides on this repository

Tip

Official documentation for uv is available at https://docs.astral.sh/uv

Add Python Libraries

If you want to install Python libraries, run the following command:

1
uv add ruff

Note

If you want to install a specific version of a Python library, run the following command:

1
uv add "ruff==0.8.3"

Note

If you want to install only in dev, run the following command:

1
uv add --dev ruff

Remove Python Libraries

1
uv remove ruff

Pin Python Version

If you want to pin the Python version, run the following command:

1
uv pin python 3.12

Configuration for uv

If you want to configure the uv, visit the Configuration for uv page.