Download Latest Version prek-x86_64-pc-windows-msvc.zip (5.4 MB) Google Add to Preferred Sources
Home / v0.5.4
Name Modified Size InfoDownloads / Week
Parent folder
prek-x86_64-unknown-linux-musl.tar.gz.sha256 2026-09-28 104 Bytes
sha256.sum 2026-09-28 81 Bytes
source.tar.gz 2026-09-28 1.2 MB
source.tar.gz.sha256 2026-09-28 81 Bytes
prek-installer.sh 2026-09-28 57.0 kB
prek-x86_64-apple-darwin.tar.gz 2026-09-28 5.8 MB
prek-x86_64-apple-darwin.tar.gz.sha256 2026-09-28 98 Bytes
prek-x86_64-pc-windows-msvc.zip 2026-09-28 5.4 MB
prek-x86_64-pc-windows-msvc.zip.sha256 2026-09-28 98 Bytes
prek-x86_64-unknown-linux-gnu.tar.gz 2026-09-28 6.0 MB
prek-x86_64-unknown-linux-gnu.tar.gz.sha256 2026-09-28 103 Bytes
prek-x86_64-unknown-linux-musl.tar.gz 2026-09-28 6.1 MB
prek.rb 2026-09-28 2.3 kB
dist-manifest.json 2026-09-28 26.5 kB
prek-aarch64-apple-darwin.tar.gz 2026-09-28 5.3 MB
prek-aarch64-apple-darwin.tar.gz.sha256 2026-09-28 99 Bytes
prek-aarch64-pc-windows-msvc.zip 2026-09-28 5.1 MB
prek-aarch64-pc-windows-msvc.zip.sha256 2026-09-28 99 Bytes
prek-aarch64-unknown-linux-gnu.tar.gz 2026-09-28 5.6 MB
prek-aarch64-unknown-linux-gnu.tar.gz.sha256 2026-09-28 104 Bytes
prek-aarch64-unknown-linux-musl.tar.gz 2026-09-28 5.6 MB
prek-aarch64-unknown-linux-musl.tar.gz.sha256 2026-09-28 105 Bytes
prek-installer.ps1 2026-09-28 22.6 kB
0.5.4 source code.tar.gz 2026-09-28 1.2 MB
0.5.4 source code.zip 2026-09-28 1.4 MB
README.md 2026-09-28 5.5 kB
Totals: 26 Items   49.0 MB 0

Release Notes

Released on 2026-09-28.

Highlights

Faster builtin hooks

In our end-to-end benchmark, prek is about 38% faster than 0.5.3, with some builtin hooks up to 273% faster (check-yaml: 273%, check-json: 80%, check-merge-conflict: 71%).

Enhancements

  • Add include_deleted to allow hooks to include deleted files (#2733)
  • Add --check and simplify end-of-file-fixer (#2764)
  • Add --check to file-contents-sorter (#2765)
  • Add --check to requirements-txt-fixer (#2766)
  • Add --check to trailing-whitespace (#2763)
  • Expose and document prek util generate-shell-completion (#2727)
  • Support hide_status in project and user configuration (#2760)
  • Support look-around regex in builtin pattern hooks (#2732)

Performance

  • Cache the resolved Git executable on macOS (#2726)
  • Combine and cache Git repository path queries (#2724)
  • Optimize common builtin hook execution (#2768)
  • Optimize scanning in mixed-line-ending and trailing-whitespace (#2769)
  • Scan check-merge-conflict files in fixed-size blocks (#2781)
  • Use SIMD UTF-8 validation in check-json, check-toml, and check-yaml (#2770)

Bug fixes

  • Retry transient rename failures on Windows (#2756)
  • Use PATH to resolve prek in completion scripts (#2719)

Documentation

  • Clarify the flow and scope of usage guides (#2710)
  • Reorganize usage guides and reference documentation (#2709)

Other changes

  • Sync latest identify tags (#2762)

Contributors

  • @github-actions
  • @j178

Install prek 0.5.4

Install prebuilt binaries via shell script

:::sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.4/prek-installer.sh | sh

Install prebuilt binaries via powershell script

:::sh
powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.4/prek-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

:::sh
brew install prek

Download prek 0.5.4

File Platform Checksum
prek-aarch64-apple-darwin.tar.gz (github.com) Apple Silicon macOS checksum
prek-x86_64-apple-darwin.tar.gz (github.com) Intel macOS checksum
prek-aarch64-pc-windows-msvc.zip (github.com) ARM64 Windows checksum
prek-x86_64-pc-windows-msvc.zip (github.com) x64 Windows checksum
prek-aarch64-unknown-linux-gnu.tar.gz (github.com) ARM64 Linux checksum
prek-x86_64-unknown-linux-gnu.tar.gz (github.com) x64 Linux checksum
prek-aarch64-unknown-linux-musl.tar.gz (github.com) ARM64 MUSL Linux checksum
prek-x86_64-unknown-linux-musl.tar.gz (github.com) x64 MUSL Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

:::sh
gh attestation verify <file-path of downloaded artifact> --repo j178/prek

You can also download the attestation from GitHub and verify against that directly:

:::sh
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>
Source: README.md, updated 2026-09-28