Prek 0.6.0
by j178
⚡ Better `pre-commit`, re-engineered in Rust.
- Open source
- Windows
- Updated Dec 1, 2026
Official version from j178Downloaded from the publisher’s site · Official website
- No download manager
- No bundled offers
- 0Views
- 0Downloads
- 0Likes
- Software Rank#23in Developer tools
About Prek
prek is a framework for running hooks on your code. It runs them before you commit changes, on demand, or in CI. These hooks can format files, catch lint errors, detect secrets, or run any other command your project defines. prek also installs and manages the tools and dependencies they need.
You may already be familiar with the pre-commit tool. prek is a reimagined version of it, built in Rust. It is faster and distributed as a single binary with no runtime dependencies. It is fully compatible with pre-commit configurations and hooks, so you can use it as a drop-in replacement without changing your setup.
Although prek is pretty new, it’s already powering real‑world projects like CPython, Apache Airflow, FastAPI, and more projects are picking it up—see Who is using prek?. If you’re looking for an alternative to pre-commit, please give it a try—we’d love your feedback!
Thank you to everyone supporting prek's development, including our private sponsors.
Frost Ming · Corry Haines · Janosh Riebesell · Udaya Prakash · AmarBego · openclaw
What’s new in 0.6.0
Released on 2026-12-01.
Breaking changes
Most users can upgrade to 0.6 without changing their configuration or scripts.
The two CLI changes below align prek's exit codes with pre-commit.
- If you pass hook names and --hook-stage to prek run, it now exits with status 1 when none of those hooks matches the requested stage. To run every hook configured for a stage, omit the hook names. (#3105)
- prek update and prek autoupdate now validate every --repo argument before updating any revisions. A single unknown repository makes the command exit with status 1. Use the repo value as written in your config. (#3106)
- When SSL_CERT_FILE or SSL_CERT_DIR is non-empty, prek's HTTP client (reqwest) trusts only the CA certificates loaded from those paths, even if it finds none. If you used these variables to add a private CA, include the public roots you need in the same trust bundle. To use the system trust store, unset both variables and set PREK_SYSTEM_CERTS=true. PREK_NATIVE_TLS remains a deprecated alias. (#2964)
Highlights
Faster repeat checks with prek update
prek update now reuses Git objects from earlier checks while still looking for
new upstream tags. In our GitHub benchmark, repeat runs of prek update --check
took 62–74% less time with a warm cache. Median time fell from 2.20 s to 0.84 s
for pre-commit/pre-commit-hooks and from 3.04 s to 0.80 s for crate-ci/typos. (#3080)
Configure hooks in pyproject.toml or Cargo.toml
Keep your hooks in the manifest you already use. Put the same settings you would
use in prek.toml under [tool.prek] in pyproject.toml, or under
[package.metadata.prek] or [workspace.metadata.prek] in Cargo.toml.
A standalone hook configuration in the same directory still takes precedence. (#3093)
Include formatter fixes in the same commit
Set stage_fixed = true on a formatter to let the installed Git pre-commit
hook include verified fixes to matching staged files in the same commit. This
saves a second round of git add and git commit. Manual prek run invocations
still leave fixes in the working tree for review. (#3085)
# pyproject.toml
[[tool.prek.repos]]
repo = "builtin"
hooks = [{ id = "end-of-file-fixer", stage_fixed = true }]
Enhancements
- Allow pre-commit hooks to stage verified fixes (#3085)
- Load hook configuration from pyproject.toml and Cargo.toml (#3093)
- Restore prebuilt packages for RISC-V Linux (#3087)
- Skip the full history walk for new pre-push refs (#3035)
- Support {config_dir} in hook entries and arguments (#3089)
Performance
- Extract toolchain archives with synchronous tar and ZIP readers (#3094)
- Keep small packs when fetching hook repositories (#3076)
- Read pre-push diff bases from git rev-list (#3090)
- Reuse Git objects across hook update checks (#3080)
- Reuse cached Git objects when fetching another hook revision (#3078)
- Reuse installed hook environments across try-repo runs (#3082)
- Reuse the installed hook manifest during update checks (#3083)
- Skip tag discovery when fetching hook r
Specifications
- Name
- Prek
- Version
- 0.6.0
- Released
- December 1, 2026
- Publisher
- j178
- Platform
- Windows
- Price
- Open source
- Category
- Developer tools
- On FamousWhy since
- December 2026
- Download from
- The publisher’s site
in Developer tools for Windows
out of 401 programsHow the score is made
Famous Software Rank compares Prek with every program on FamousWhy, from 0 to 100. Most of it comes from visitors: downloads, visits, likes, followers and boosts. It is recalculated every night. How Famous Software Rank works
- Bronze0–19
- Silver20–39
- Gold40–59
- Platinum60–79
- Diamond80–100
Alternatives to Prek
-
17BronzeACS 2.27.0
Admin Config Service CLI for managing splunk cloud stacks.
-
17Bronzeagentty 0.9.72
Blazing-fast Claude in your terminal — a C++26 alternative to claude-code.
-
17BronzeALTRun 2026.12.02
Lightweight, open-source Alfred-style launcher for Windows.
-
17BronzeBuf 1.76.0
The best way to work with Protocol Buffers.
-
17BronzeCodeArts Agent 26.11.400
The Huawei Cloud CodeArts Agent AI coding IDE.
Get more downloads for Prek
Free badges, a live rank widget and share links, for the publisher and for everyone who likes the program. Each one links back here, and every visitor it brings counts towards the Famous Software Rank.
Show the live Famous Software Rank
- 👀More exposureEvery visitor the widget sends to your FamousWhy page raises the Famous Software Rank and moves the program up the category lists and the top 10.
- ⬇️More downloads and installsA higher place puts the program in front of more people who came to install something, every day.
- 👥Your visitors bring new usersFans who click the widget can like and boost the program, and every boost lifts it in front of new people.
Share Prek
Post the page on your social accounts or in your newsletter. Visitors who arrive through these links count towards the Famous Software Rank too.
Questions about Prek
Is Prek free?
Yes. Prek is open source and free to use.
Is it safe to download Prek?
You get the official version released by j178. FamousWhy doesn’t repackage it or add download managers, toolbars or other offers.
What is the latest version of Prek?
The latest version we know of is 0.6.0, released on December 1, 2026.