prek

Install command:
brew install prek

Formerly known as: prefligit

Fast Git hook manager written in Rust, drop-in alternative to pre-commit

https://prek.j178.dev/

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.5.10
head ⚡️ HEAD

Depends on when building from source:

rust 1.99.1 Safe, concurrent, practical language

Binaries: prek

GitHub Packages downloads:

Last 30 days146,196
Downloads418,653
Analytics install events (30 days)3,134
Downloads / install events (30 days)46.7×

Source: GitHub Packages, fetched 2026-11-11T00:52:32Z. Analytics dates: 2026-10-12 to 2026-11-11. 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
Installs3,1297,12731,027
Installs (--HEAD)51256
Installs on Request3,1137,07030,859
Installs on Request (--HEAD)51256
Build Errors1