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 days494,660
Downloads17,734,343
Analytics install events (30 days)22,191
Downloads / install events (30 days)22.3×

Source: GitHub Packages, fetched 2026-11-24T00:51:23Z. Analytics dates: 2026-10-25 to 2026-11-24. 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
Installs22,18266,290361,867
Installs (--HEAD)924216
Installs on Request22,17266,277361,659
Installs on Request (--HEAD)924216
Build Errors51