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 | 521,190 |
|---|---|
| Downloads | 17,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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 16,679 | 73,640 | 374,882 |
Installs (--HEAD) | 6 | 37 | 220 |
| Installs on Request | 16,677 | 73,629 | 374,665 |
Installs on Request (--HEAD) | 6 | 37 | 220 |
| Build Errors | 131 |