Install latest/stable of ruff

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install ruff

Don't have snapd? Get set up for snaps.

Channel Version Published

An extremely fast Python linter, written in Rust.

Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface.

  • ⚡️ 10-100x faster than existing linters (like Flake8) and formatters (like Black)
  • 🐧 Installable via snap
  • 🛠️ pyproject.toml support
  • 🤝 Python 3.12 compatibility
  • ⚖️ Drop-in parity with Flake8, isort, and Black
  • 📦 Built-in caching, to avoid re-analyzing unchanged files
  • 🔧 Fix support, for automatic error correction (e.g., automatically remove unused imports)
  • 📏 Over 700 built-in rules, with native re-implementations of popular Flake8 plugins, like flake8-bugbear
  • ⌨️ First-party editor integrations for VS Code and more
  • 🌎 Monorepo-friendly, with hierarchical and cascading configuration

Details for ruff

  • MIT

Last updated
  • 21 May 2024 - latest/stable
  • 21 May 2024 - latest/candidate



Source code

Report a bug

Share this snap

Generate an embeddable card to be shared on external websites.

Install ruff on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Where people are using ruff

Users by distribution (log)

Ubuntu 22.04
Ubuntu 20.04
Ubuntu 24.04
Ubuntu 23.10
Ubuntu 18.04
Ubuntu 23.04
pop 22.04
Debian 12
Linux Mint 21.3
Ubuntu 22.10

Is there a problem with ruff? Report this app