Skip to content

Commit

Permalink
split
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jan 7, 2025
1 parent afb12cd commit a365dc5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
8 changes: 5 additions & 3 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +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. We recommend installing Ruff with [uv](https://docs.astral.sh/uv/):

```console
$ # With uv.
$ uv tool install ruff # Install Ruff globally.
$ uv add --dev ruff # Or add Ruff to your project.
$ # Install Ruff globally.
$ uv tool install ruff@latest

$ # Or add Ruff to your project.
$ uv add --dev ruff

$ # With pip.
$ pip install ruff
Expand Down
11 changes: 8 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Installing Ruff

Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI. We recommend installing Ruff with [uv](https://docs.astral.sh/uv/):
Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI. We recommend installing Ruff with [uv](https://docs.astral.sh/uv/).

To install Ruff globally:

```console
$ uv tool install ruff@latest # Install Ruff globally.
$ uv add --dev ruff # Or add Ruff to your project.
$ # Install Ruff globally.
$ uv tool install ruff@latest

$ # Or add Ruff to your project.
$ uv add --dev ruff

$ # With pip.
$ pip install ruff
Expand Down

0 comments on commit a365dc5

Please sign in to comment.