swiftlint
brew install swiftlintTool 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 days | 494,660 |
|---|---|
| Downloads | 17,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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 22,182 | 66,290 | 361,867 |
Installs (--HEAD) | 9 | 24 | 216 |
| Installs on Request | 22,172 | 66,277 | 361,659 |
Installs on Request (--HEAD) | 9 | 24 | 216 |
| Build Errors | 51 |