KingDownloads

prek

by j178 8.1k stars MITDeveloper Tools
Download

About prek

prek is a Git hook manager written in Rust, designed as a faster and dependency-free alternative to pre-commit. It manages language toolchains and dependencies for running hooks while maintaining compatibility with existing pre-commit configurations.

It is used by projects like CPython, Apache Airflow, and FastAPI for running pre-commit hooks efficiently. The tool supports monorepos and concurrent execution for independent projects at the same depth level.

Key features

  • Single binary with no dependencies, does not require Python or other runtimes
  • Faster than pre-commit and more efficient in disk space usage
  • Fully compatible with original pre-commit configurations and hooks
  • Built-in support for monorepos including concurrent execution
  • Integration with uv for managing Python virtual environments and dependencies
  • Improved toolchain installations for Python, Node.js, Bun, Go, Rust and Ruby
  • Built-in Rust-native implementation of some common hooks

Download v0.4.9

Jul 11, 2026
View all 11 versions

Frequently asked questions

Is prek free?
Yes. prek is free and open-source software, distributed under the MIT license.
Which platforms does prek support?
prek provides downloads for Windows, macOS, Linux.
What is the latest version of prek?
The latest version is v0.4.9, released on Jul 11, 2026.
How do I install prek?
prek can be installed via standalone installer scripts, PyPI, Homebrew, Cargo, npm, Nix, Conda, Scoop, Winget, MacPorts, or by downloading pre-built binaries from GitHub releases.
What platforms does prek support?
prek provides installation methods for Linux, macOS, and Windows, with pre-built binaries available for these platforms.
Can prek update itself?
If installed via the standalone installer, prek can update itself to the latest version using the command 'prek self update'.

More Developer Tools