prek
Install command:
brew install prekFormerly known as: prefligit
Fast Git hook manager written in Rust, drop-in alternative to pre-commit
License: MIT
Development: Pull requests
Formula JSON API: /api/formula/prek.json
Formula code: prek.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.6.0 |
| head | ⚡️ | HEAD |
Depends on when building from source:
| rust | 1.100.1 | Safe, concurrent, practical language |
Binaries:
prek
GitHub Packages downloads:
| Last 30 days | 102,084 |
|---|---|
| Downloads | 450,077 |
| Analytics install events (30 days) | 3,475 |
| Downloads / install events (30 days) | 29.4× |
Source: GitHub Packages, fetched 2026-12-01T01:10:53Z. Analytics dates: 2026-11-01 to 2026-12-01. 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 | 3,472 | 7,512 | 32,854 |
Installs (--HEAD) | 3 | 11 | 56 |
| Installs on Request | 3,451 | 7,462 | 32,675 |
Installs on Request (--HEAD) | 3 | 11 | 56 |
| Build Errors | 2 |