prek
brew install prek
v0.4.5
MIT
Fast Git hook manager written in Rust, drop-in alternative to pre-commit framework.
Why you might care
Prek replaces the Python-based pre-commit tool with a single compiled Rust binary, making hook setup and execution significantly faster. It maintains compatibility with .pre-commit-hooks.yaml configs while eliminating dependency management overhead, ideal for teams wanting speedier CI/CD pipelines and local development workflows.
3.0k
30-day installs · #794
8.7k
90-day · #867
19.2k
365-day · #1080
Build dependencies
Links
- https://prek.j178.dev/
- Brew formula source: Formula/p/prek.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"pre-commit",
"husky",
"lefthook"
],
"build_dependencies": [
"rust"
],
"categories": [
"version-control",
"build-system"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Fast Git hook manager written in Rust, drop-in alternative to pre-commit",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:06+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "prek",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://prek.j178.dev/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "prek - prek",
"installs_30d": 3049,
"installs_365d": 19178,
"installs_90d": 8719,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:47:05+00:00",
"llm_model": "claude-haiku-4-5",
"name": "prek",
"oldnames": [
"prefligit"
],
"one_liner": "Fast Git hook manager written in Rust, drop-in alternative to pre-commit framework.",
"optional_dependencies": [],
"rank_30d": 794,
"rank_365d": 1080,
"rank_90d": 867,
"raw_hash": "d74f81ba9b804bea",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/p/prek.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.4.5",
"versioned_formulae": [],
"why_use_this": "Prek replaces the Python-based pre-commit tool with a single compiled Rust binary, making hook setup and execution significantly faster. It maintains compatibility with .pre-commit-hooks.yaml configs while eliminating dependency management overhead, ideal for teams wanting speedier CI/CD pipelines and local development workflows."
}