Skip to content

Commit

Permalink
Promote uv in installation guides (#14056)
Browse files Browse the repository at this point in the history
> [Because this is an Astral repository
;)](astral-sh/packse#183)

[Originally
reported](https://discord.com/channels/1039017663004942429/1039017663512449056/1302319421204729906)
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 <[email protected]>
  • Loading branch information
InSyncWithFoo and MichaReiser authored Dec 9, 2024
1 parent 56a631a commit 8df4983
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 8df4983

Please sign in to comment.