# prek

13 Hacker News commenters recommended prek and 6 criticized it, November 2025 to November 2026. It was recommended in 5 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** Rust reimplementation of pre-commit, compatible with existing hooks and faster, with monorepo support and no Python dependencies. Critics say it does not fix the underlying pre-commit hook problems.

## Why people recommend it

- Compatible with existing pre-commit hooks (3 comments): "The main advantage for me is that prek has support for monorepo/workspaces, while staying compatible with existing pre-commit hooks." ([source](https://news.ycombinator.com/item?id=46874236)) "prek is compatible with pre-commit so any hooks that can be used for pre-commit can be used with prek" ([source](https://news.ycombinator.com/item?id=46874610)) "Not just faster than pre-commit, and totally compatible. Also with more features." ([source](https://news.ycombinator.com/item?id=46873530))
- Easy to drop into projects (2 comments): "It was seamless to drop into my projects." ([source](https://news.ycombinator.com/item?id=46873716)) "Really enjoying using prek." ([source](https://news.ycombinator.com/item?id=46874469))
- Single tool for CI linting (2 comments): "So in CI/CD you can replace all discrete lint/format tool calls with one to pre-commit/prek." ([source](https://news.ycombinator.com/item?id=46873868)) "Using prek, not pre-commit for the linters." ([source](https://news.ycombinator.com/item?id=49818093))

## What people warn about

- Does not fix core hook problems (3 comments): "Not fundamentally broken, just broken on certain use cases where'd I have to do something like" ([source](https://news.ycombinator.com/item?id=46403705)) "I think it's improving on an already awful platform so you should not use it" ([source](https://news.ycombinator.com/item?id=46874007)) "It doesn’t seem like this solves the main issues with pre-commit hooks." ([source](https://news.ycombinator.com/item?id=46876575))
- Arguments seen as weak or circular (2 comments): "This just seems like calling a shell script with extra steps." ([source](https://news.ycombinator.com/item?id=46874022)) "All I'm seeing is circular logic." ([source](https://news.ycombinator.com/item?id=46874068))

## Alternatives hackers recommend

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

## Cite as

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