lefthook

Install command:
brew install lefthook

Fast and powerful Git hooks manager for any type of projects

https://github.com/evilmartians/lefthook

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/lefthook.json

Formula code: lefthook.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 ✅ 2.2.2
head ⚡️ HEAD

Depends on when building from source:

go 1.27.3 Open source programming language to build simple/reliable/efficient software

Binaries: lefthook

GitHub Packages downloads:

Last 30 days23,429
Downloads439,303
Analytics install events (30 days)2,947
Downloads / install events (30 days)8.0×

Source: GitHub Packages, fetched 2026-11-06T20:51:08Z. Analytics dates: 2026-10-07 to 2026-11-06. 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
Installs2,94610,65140,768
Installs (--HEAD)1638
Installs on Request2,94610,65140,705
Installs on Request (--HEAD)1638
Build Errors1