swiftlint

Install command:
brew install swiftlint

Tool to enforce Swift style and conventions

https://github.com/realm/SwiftLint

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/swiftlint.json

Formula code: swiftlint.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.65.1
head ⚡️ HEAD

Uses from macOS: swift (build) (since macOS Sonoma), curl, libxml2

Requires: Xcode >= 8.0, macOS >= 13

Binaries: swiftlint

GitHub Packages downloads:

Last 30 days521,190
Downloads17,354,208
Analytics install events (30 days)16,685
Downloads / install events (30 days)31.2×

Source: GitHub Packages, fetched 2026-11-03T00:39:22Z. Analytics dates: 2026-10-04 to 2026-11-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs16,67973,640374,882
Installs (--HEAD)637220
Installs on Request16,67773,629374,665
Installs on Request (--HEAD)637220
Build Errors131