Git Hook Manager / Developer Tool
7.3k 2026-04-18
j178/prek
A fast, dependency-free Git hook manager written in Rust, serving as a drop-in alternative to pre-commit with enhanced features.
Core Features
Single binary with no external runtime dependencies.
Significantly faster and more disk-efficient than pre-commit.
Full compatibility with existing pre-commit configurations and hooks.
Built-in support for monorepos and improved toolchain management.
Rust-native implementations for common hooks.
Quick Start
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.9/prek-installer.sh | shDetailed Introduction
Prek is a modern, Rust-based reimagining of the popular pre-commit framework, designed to streamline code quality checks in Git repositories. It offers a compelling alternative by providing a single, dependency-free binary that boasts superior performance and disk efficiency. Fully compatible with existing pre-commit configurations, Prek also introduces advanced features like native monorepo support and optimized toolchain installations for various languages, making it a robust and efficient choice for developers seeking to enhance their pre-commit workflows.