← Package directory
Available on winget

Install Prek

⚡ Better `pre-commit`, re-engineered in Rust

Install with winget
winget install --id j178.Prek
Upgrade
winget upgrade --id j178.Prek
Uninstall
winget uninstall --id j178.Prek

About Prek

⚡ Better `pre-commit`, re-engineered in Rust

What's new in 0.4.1

Release Notes Released on 2026-05-20. Enhancements - Fix pre-push range after rebase (#2089) - Prefer extensions over loose filename tags (#2092) - Skip installs for hooks that will not run (#2103) Performance - Optimize meta hook file scans (#2106) - Reduce run filtering allocations (#2090) Contributors - @j178 Install prek 0.4.1 Install prebuilt binaries via shell script curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.1/prek-installer.sh | sh Install prebuilt binaries via powershell script powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.4.1/prek-installer.ps1 | iex" Install prebuilt binaries via Homebrew brew install prek Download prek 0.4.1 ───────────────────────────────────────────────┬────────────────────────────┬───────────── File │Platform │Checksum ───────────────────────────────────────────────┼────────────────────────────┼───────────── prek-aarch64-apple-darwin.tar.gz │Apple Silicon macOS │checksum ───────────────────────────────────────────────┼────────────────────────────┼───────────── prek-x86_64-apple-darwin.tar.gz │Intel macOS │checksum ───────────────────────────────────────────────┼────────────────────────────┼───────────── prek-aarch64-pc-windows-msvc.zip │ARM64 Windows │checksum ───────────────────────────────────────────────┼────────────────────────────┼───────────── prek-i686-pc-windows-msvc.zip │x86 Windows │checksum ───────────────────────────────────────────────┼────────────────────────────┼───────────── prek-x86_64-pc-windows-msvc.zip │x64 Windows │checksum ─────...

Read release notes

Version history

Version Updated Notes
0.4.1 Release Notes Released on 2026-05-20. Enhancements - Fix pre-push range after rebase (#2089) - Prefer extensions over loose filename tags (#2092) - Skip installs for hooks that will not run (#2103) Performance - Optimize...
0.4.0 Unknown Release Notes Released on 2026-05-14. Breaking changes These are narrow cleanup breaks in behavior that was either temporary or never worked correctly. Most users should not need to change anything. - Generated hook scri...
0.3.13 Unknown Release Notes Released on 2026-05-06. Bug fixes - Respect hook filters for message files (#2049) Documentation - Add Godot Engine to users in README (#2047) Contributors - @j178 - @Calinou Install prek 0.3.13 Install pre...
0.3.12 Unknown Release Notes Released on 2026-05-05. Highlights auto_update.cooldown_days is now available in both the user-level global config (~/.config/prek/prek.toml on Linux and macOS, or $XDG_CONFIG_HOME/prek/prek.toml when set;...
0.3.11 Unknown Release Notes Released on 2026-04-27. Highlights Hook entries now have an explicit shell option for shell snippets. Set shell: sh, bash, pwsh, powershell, or cmd when an entry should be evaluated by that shell; leaving i...
0.3.10 Unknown Release Notes Released on 2026-04-21. Enhancements - Disallow rev for non-remote repos in schema (#1964) - Hide up-to-date output in non-verbose mode (#1942) - Improve merge conflict marker detection (#1937) - Keep finis...
0.3.9 Unknown Release Notes Released on 2026-04-13. Highlight prek auto-update is now stricter about pinned revisions and more useful in CI. It now keeps rev and # frozen: comments in sync, can detect impostor commits when validating...
0.3.8 Unknown Release Notes Released on 2026-03-23. Enhancements - Add pretty-format-json as builtin hook (#915) - Add check-vcs-permalinks as builtin hook (#1842) - Add check-illegal-windows-names as builtin hook (#1841) - Add check-...
0.3.6 Unknown Release Notes Released on 2026-03-16. Enhancements - Allow selectors for hook ids containing colons (#1782) - Rename prek install-hooks to prek prepare-hooks and prek install --install-hooks to prek install --prepare-hoo...
0.3.5 Unknown Release Notes Released on 2026-03-09. Enhancements - Add automatic Ruby download support using rv binaries (#1668) - Adjust open file limit on process startup (#1705) - Allow parallel gem retry (#1732) - Enable system-pr...
0.3.4 Unknown Release Notes Released on 2026-02-28. Enhancements - Allow pass_filenames to accept a positive integer (#1698) - Install and compile gems in parallel (#1674) - Sync identify file-type mappings with pre-commit identify (#...
0.3.3 Unknown Release Notes Released on 2026-02-15. Enhancements - Read Python version specifier from hook repo pyproject.toml (#1596) - Add #:schema directives to generated prek.toml (#1597) - Add prek util list-builtins command (#16...
0.3.2 Unknown Release Notes Released on 2026-02-06. Highlights - prek.toml is here! You can now use prek.toml as an alternative to .pre-commit-config.yaml for configuring prek. prek.toml mirrors the structure of .pre-commit-config.yam...