Submit a product

Prek

Git hook manager for running pre-commit checks, rewritten in Rust

ToolWindowsOpen source

Prek is a command-line tool that runs pre-commit hooks on a Git repository. It is a drop-in replacement for the pre-commit framework and reads the same configuration file, so developers who already use pre-commit can switch without rewriting their hook setup.

The tool is written in Rust, which is the main point of difference from the original Python implementation. It is distributed under the MIT license, and the source code is public on GitHub. The Windows package is available through winget.

Alternatives to Prek

Products that do a similar job in Developer Tools.

All alternatives

bat

command-line file viewer with syntax highlighting and git integration

ToolDeveloper Tools··Open source·62k

openidea

Native Rust IDE with an IntelliJ-style keymap and built-in debugger

ToolDeveloper Tools··Open source·12k

onefetch

Command-line tool that shows a summary of a Git repository

ToolDeveloper Tools··Open source·12k

gitui

Keyboard-driven terminal interface for git repositories

ToolDeveloper Tools··Open source·23k·Updated Mar 2026

gitoxide

Pure Rust implementation of Git with a command-line tool

ToolDeveloper Tools··Open source·12k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

Alacritty

GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD

ToolDeveloper Tools··Open source·66k

GitHub CLI

Command line tool for working with GitHub from the terminal

ToolDeveloper Tools··Open source·47k·Updated Dec 2026