# Lefthook

7 Hacker News commenters recommended Lefthook and 2 criticized it, November 2025 to November 2026. It was recommended in 6 of 13 months.

**Verdict:** Simple git hook manager that handles formatters well and has simpler dependency handling than pre-commit.

## Why people recommend it

- Persists formatter fixes with stage_fixed (2 comments): "Lefthook with glob+stage_fixed for formatters makes one of the issues raised a complete non-issue." ([source](https://news.ycombinator.com/item?id=46404460)) "use "stage_fixed" to automatically persist the formatting" ([source](https://news.ycombinator.com/item?id=48205982))
- Simpler than pre-commit, better dependencies (2 comments): "lefthook is like pre-commit, but with significantly better dependency chain" ([source](https://news.ycombinator.com/item?id=47845789)) "I'm not sure why you'd not be using the much simpler lefthook." ([source](https://news.ycombinator.com/item?id=46885490))
- Works well in practice (3 comments): "I don't share the same criticism for lefthook or husky. I think those are fine" ([source](https://news.ycombinator.com/item?id=46874007)) "proper DX (e.g., Lefthook) actually led to okay results" ([source](https://news.ycombinator.com/item?id=49342637)) "which we're quite happy with" ([source](https://news.ycombinator.com/item?id=46874719))

## Alternatives hackers recommend

- [pre-commit](https://hackerapproved.com/p/pre-commit.md): 24 recommend
- [prek](https://hackerapproved.com/p/prek.md): 13 recommend
- [Husky](https://hackerapproved.com/p/husky.md): 6 recommend
- [hk](https://hackerapproved.com/p/hk.md): 5 recommend

## Cite as

Hacker Approved, "Lefthook", https://hackerapproved.com/p/lefthook/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
