diff --git a/README.md b/README.md index 85040af1a4..ba915c449e 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,10 @@ For more, see the [documentation](https://docs.astral.sh/ruff/). Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI: ```shell +# With uv. +uv add --dev ruff # to add ruff to your project +uv tool install ruff # to install ruff globally + # With pip. pip install ruff diff --git a/docs/faq.md b/docs/faq.md index 3718b85c0b..42b24904d4 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -223,6 +223,11 @@ Ruff is installable under any Python version from 3.7 onwards. Nope! Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI: ```console +# With uv. +$ uv add --dev ruff # to add ruff to your project +$ uv tool install ruff # to install ruff globally + +# With pip $ pip install ruff ```