prek
prek: A broad, self-hosted hook manager for monorepos and CI workflows. Ranked #4 of 26 in Git Hooks Management Tools by our editors (7.8/10); pricing: Open source; best for monorepos needing pre-commit compatibility.
At a glance
- Editor score7.8 / 10
- PricingOpen source
- Best forMonorepos needing pre-commit compatibility
- Paid fromFree
- Hook stagesAll
- Facts checked20 Oct 2026
Where it wins
- Covers pre-commit, push, on-demand, and CI hook stages
- Workspace mode handles nested configurations in monorepos
- Runs as a Rust single binary across Windows, macOS, and Linux
Where it doesn't
- Deployment is self-hosted, requiring teams to manage the runtime
- Listed support is documentation rather than direct assistance
- Focuses on Git checks, not broader developer workflow automation
Our verdict on prek
prek is an open-source Git hook framework for teams that need consistent checks before commits, during pushes, on demand, and in continuous-integration workflows. It runs formatters, linters, secret checks, and custom commands, while supporting existing pre-commit configurations and native prek.toml files. Written in Rust and distributed as a single binary, it targets solo developers through enterprise teams on Windows, macOS, and Linux. Monorepo teams are a particularly strong fit because workspace mode supports nested project configurations.
Its ecosystem coverage makes adoption flexible. Installation is available through standalone binaries, package managers including uv, npm, pip, and Homebrew, Docker images, and GitHub Actions. The tool can run checks in GitHub Actions and other CI systems, while git shim installation and management helps place hooks into repositories. Shared hook environments and managed toolchains reduce repeated setup across projects, and hook groups can separate CI, linting, and formatting workflows. Compatibility with pre-commit configurations lets teams work from existing hook definitions rather than requiring an entirely new format.
The main trade-off is operational ownership: deployment is self-hosted, so teams manage the environments where hooks and CI jobs run. Listed support is documentation, which suits teams comfortable maintaining their own configuration and troubleshooting workflow. prek is broad for a Git hook manager, combining all hook stages, monorepo support, CI execution, Docker use, and built-in Rust hooks. Choose it when repository-level automation, shared environments, and cross-platform execution matter; choose a narrower tool when you only need a small local pre-commit setup or prefer a hosted service.
Your product? Our editors can test prek in depth and publish a review, labelled as paid · from $99/mo →
prek pricing
prek fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Hook stages | All |
| Shared configuration | Yes |
| Monorepo support | Yes |
| CI execution | Yes |
| Package manager integration | Yes |
| Platform support | Cross-platform |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 6 integrations: GitHub Actions, Docker, uv, npm, pip, Homebrew See all → |
| Pricing | Open source |
| Website | prek.j178.dev |
| Facts checked | 20 Oct 2026 |
prek integrations
prek lists 6 integrations on its own site.
- GitHub Actions
- Docker
- uv
- npm
- pip
- Homebrew
Alternatives to prek
- hkAn open-source, CI-ready hook manager with broad lifecycle and monorepo coverage.8.9
- pre-commitA free, cross-platform framework for standardizing hooks across languages, repositories, and CI.8.8
- HuskyA free, cross-platform Git-hook manager with coverage for every client-side hook.7.9
prek vs the competition
Compare prek with any tool side by side →
Used prek? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used prek for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
prek is listed in our Git Hooks Management Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/prek/"><img src="https://www.itechguides.com/best/badge/prek.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update