$npx skillfedfor your agent

prek

A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.

Worth itPyPI Quality AssuranceReleased Aug 202626.3M downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — prek-0.4.13-py3-none-linux_armv6l.whl · prek-0.4.13-py3-none-macosx_10_12_x86_64.whl · prek-0.4.13-py3-none-macosx_11_0_arm64.whl
v0.4.13 · released 2026-08-10 · Python >=3.8

Yes. prek is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and offers a genuine speed and usability improvement over pre-commit for teams already using pre-commit-style workflows. The single-binary distribution and zero runtime dependencies make it easy to adopt. Start with it if you want faster hook execution; migrate to it if you already use pre-commit and want a drop-in replacement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Medium install friction: prek distributes as pre-built wheels for many platforms (Linux ARM/x86, macOS, Windows) and is actively maintained with recent releases.
  • However, as a binary wheel package, it requires platform-specific builds; installation is straightforward via pip, uv, or standalone installers.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.

last release 2026-08-10 (4 days) · last repo commit 2026-08-12 · 8,253 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 26,308,103 downloads/mo, #885 on PyPI

Verify before relying

pip install prek

# Initialize prek in your repository
prek init

# Run all hooks on staged files
prek run

# Run hooks on all files
prek run --all-files
  • Whether prek's performance advantage over pre-commit holds across all use cases and repository sizes.
  • Compatibility depth with all pre-commit hook ecosystem plugins and custom hooks.
  • Whether the monorepo workspace mode and concurrent execution work reliably in large-scale setups.
Same gist for agents: .md · .json

What it is and what it does

prek is a Git hook manager reimagined in Rust as a faster, single-binary alternative to pre-commit. It runs hooks before commits, on demand, or in CI pipelines to format files, catch lint errors, detect secrets, or execute any project-defined command. The tool manages and installs the dependencies those hooks need, including Python, Node.js, Bun, Go, Rust, and Ruby toolchains.

Unlike pre-commit, prek requires no Python runtime or external dependencies—it ships as a compiled binary available for Linux, macOS, and Windows across multiple architectures. It is fully compatible with existing pre-commit configurations, so teams can use it as a drop-in replacement without changing their setup. The package includes built-in support for monorepos with concurrent hook execution and integration with uv for Python environment management.

Use it for

  • Replace pre-commit in existing projects to gain faster hook execution and reduced disk usage without reconfiguring your hooks.
  • Set up Git hooks in CI/CD pipelines to enforce code quality, formatting, and security checks before merging pull requests.
  • Manage hooks across monorepos with independent projects, running them concurrently to speed up validation.
  • Automate linting, formatting, and secret detection on every commit without requiring developers to install Python or other runtimes.
  • Standardize hook toolchains (Python, Node.js, Go, Rust) across a team by sharing environments instead of duplicating them per repository.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

prek is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and offers a genuine speed and usability improvement over pre-commit for teams already using pre-commit-style workflows. The single-binary distribution and zero runtime dependencies make it easy to adopt. Start with it if you want faster hook execution; migrate to it if you already use pre-commit and want a drop-in replacement.

Install

prek on PyPI

Before you install

Medium install friction: prek distributes as pre-built wheels for many platforms (Linux ARM/x86, macOS, Windows) and is actively maintained with recent releases. However, as a binary wheel package, it requires platform-specific builds; installation is straightforward via pip, uv, or standalone installers.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.

Quickstart

pip install prek

# Initialize prek in your repository
prek init

# Run all hooks on staged files
prek run

# Run hooks on all files
prek run --all-files

Verify before relying

  • Whether prek's performance advantage over pre-commit holds across all use cases and repository sizes.
  • Compatibility depth with all pre-commit hook ecosystem plugins and custom hooks.
  • Whether the monorepo workspace mode and concurrent execution work reliably in large-scale setups.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads26,308,103 / month, #885 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: RustTopic :: Software Development :: Quality Assurance

Evidence: prek-0.4.13-py3-none-linux_armv6l.whl; prek-0.4.13-py3-none-macosx_10_12_x86_64.whl; prek-0.4.13-py3-none-macosx_11_0_arm64.whl; prek-0.4.13-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl; prek-0.4.13-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; prek-0.4.13-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl; prek-0.4.13-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl; prek-0.4.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; prek-0.4.13-py3-none-manylinux_2_28_aarch64.whl; prek-0.4.13-py3-none-manylinux_2_31_riscv64.whl; prek-0.4.13-py3-none-musllinux_1_1_armv7l.whl; prek-0.4.13-py3-none-musllinux_1_1_i686.whl; prek-0.4.13-py3-none-musllinux_1_1_x86_64.whl; prek-0.4.13-py3-none-win32.whl; prek-0.4.13-py3-none-win_amd64.whl; prek-0.4.13-py3-none-win_arm64.whl

Tags

Capabilities
git hook managerpre-commit alternativerust-based hook runnercode quality automationci/cd hook frameworkpre-commit replacementlint and format hooks
Topics
git-hooksrust-binarypre-commit-alternative
PyPI keywords
pre-commitgithooks

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pre-commit alternative”

  • prekprek is a Git hook manager written in Rust that runs hooks before…
  • pre-commit-uvIntegrates uv as the virtual environment and package installer for…
  • check-jsonschemaA command-line tool and pre-commit hook that validates JSON and YAML…

Give your agent the search over MCP, or paste the wish link into any chat.

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also lefthook · pre-commit · pre-commit-uv · rust-just · pre-commit-hooks · actionlint-py · commitizen · commitlint · puccinialin · rumdl