diff --git a/docs/installation.md b/docs/installation.md index 3b3d1f84dd..57101e8156 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -27,8 +27,8 @@ curl -LsSf https://astral.sh/ruff/0.5.0/install.sh | sh powershell -c "irm https://astral.sh/ruff/0.5.0/install.ps1 | iex" ``` -For **macOS Homebrew** and **Linuxbrew** users, Ruff is also available as [`ruff`](https://formulae.brew.sh/formula/ruff) -on Homebrew: +For **macOS Homebrew** and **Linuxbrew** users, Ruff is also available +as [`ruff`](https://formulae.brew.sh/formula/ruff) on Homebrew: ```shell brew install ruff @@ -70,11 +70,13 @@ sudo zypper install python3-ruff On **Docker**, it is published as `ghcr.io/astral-sh/ruff`, tagged for each release and `latest` for the latest release. -If you use Podman and SELinux, mount the current directory by using `.:/io:Z`. ```shell docker run -v .:/io --rm ghcr.io/astral-sh/ruff check docker run -v .:/io --rm ghcr.io/astral-sh/ruff:0.3.0 check + +# Or, for Podman on SELinux. +docker run -v .:/io:Z --rm ghcr.io/astral-sh/ruff check ``` [![Packaging status](https://repology.org/badge/vertical-allrepos/ruff-python-linter.svg?exclude_unsupported=1)](https://repology.org/project/ruff-python-linter/versions)