prek
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, 2026WindowsWindows
LinuxLinux
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
PowerToys
microsoft
PowerToys is a set of utilities for enhancing productivity and customization on Windows systems. It includes various tools for developers and power users to streamline workflows.
Windows Terminal
microsoft
Windows Terminal combines the classic Windows console with a modern terminal application in one package. It provides developers with a unified interface for command-line tools and shells. The software supports multiple tabs, rich text, and customization options.
Neovim
neovim
Neovim is a fork of Vim focused on improved extensibility and usability. It maintains compatibility with Vim while offering modern features like embedded terminal support and a built-in LSP client. The project emphasizes maintainability and encourages community contributions.