Promote uv in installation guides (#14056)

> [Because this is an Astral repository
;)](https://github.com/astral-sh/packse/pull/183)

[Originally
reported](1302319421)
by clearfram3 on Discord.

`grep`ping for `pip install` in `.md` files reveals a few other places
where the same fix might be applicable.

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
InSync 2024-12-09 15:25:18 +07:00 committed by GitHub
parent 56a631a868
commit 8df4983057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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
```