Skip to content

Commit 6cdf3e7

Browse files
authored
Reorder installation section in README (#12177)
See #12163 (comment)
1 parent 4d385b6 commit 6cdf3e7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,17 @@ For more, see the [documentation](https://docs.astral.sh/ruff/).
116116

117117
### Installation
118118

119-
Install Ruff with our standalone installers:
119+
Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI:
120+
121+
```shell
122+
# With pip.
123+
pip install ruff
124+
125+
# With pipx.
126+
pipx install ruff
127+
```
128+
129+
Starting with version `0.5.0`, Ruff can be installed with our standalone installers:
120130

121131
```shell
122132
# On macOS and Linux.
@@ -130,16 +140,6 @@ curl -LsSf https://astral.sh/ruff/0.5.0/install.sh | sh
130140
powershell -c "irm https://astral.sh/ruff/0.5.0/install.ps1 | iex"
131141
```
132142

133-
Or, from [PyPI](https://pypi.org/project/ruff/):
134-
135-
```shell
136-
# With pip.
137-
pip install ruff
138-
139-
# With pipx.
140-
pipx install ruff
141-
```
142-
143143
You can also install Ruff via [Homebrew](https://formulae.brew.sh/formula/ruff), [Conda](https://anaconda.org/conda-forge/ruff),
144144
and with [a variety of other package managers](https://docs.astral.sh/ruff/installation/).
145145

0 commit comments

Comments
 (0)