Automic VaultAutomic Vault

brew

Install prek with Homebrew, MacPorts, Nix, scoop, winget, zypper

Fast Git hook manager written in Rust, drop-in alternative to pre-commit. Version 0.4.8 via Homebrew; verified 2026-07-04.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install prek

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install prek

MacPorts ports tree · devel/prek/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#prek

nixpkgs package indexes · pkgs/by-name/pr/prek/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install prek

openSUSE Tumbleweed package metadata · prek · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/prek

Scoop official bucket manifest trees · bucket/prek.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id j178.Prek -e

Windows Package Manager source index · j178.Prek · source: cdn.winget.microsoft.com

overview

Package summary

Fast Git hook manager written in Rust, drop-in alternative to pre-commit

Commands and aliases

  • prek

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for prek. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
prek.toml.pre-commit-config.yaml.pre-commit-config.yml$XDG_CONFIG_HOME/prek/prek.toml~/.config/prek/prek.toml
Windows
%APPDATA%\prek\prek.toml

executables

Installed executables

CommandKindExposureNote
prekcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.4.8
manager updated2026-07-04
local dataok
upstreamcurrent
latest detectedv0.4.8

https://github.com/j178/prek

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:prek
Version0.4.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/prek
Homepagehttps://prek.j178.dev/
Repositoryhttps://github.com/j178/prek
Upstream docshttps://prek.j178.dev/
LicenseMIT
Source archivehttps://github.com/j178/prek/archive/refs/tags/v0.4.8.tar.gz
Last updated2026-07-04T15:28:32Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprek
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

prek

nix profile install nixpkgs#prek
  • normalized package name match
  • Matched by: Prek
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/prek/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

prek 0.4.4-1.1

Reimagined version of pre-commit, built in Rust

https://github.com/j178/prek

sudo zypper install prek
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: prek
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Prek
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: prek from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

prek-bash-completion 0.4.4-1.1

Bash Completion for prek

https://github.com/j178/prek

sudo zypper install prek-bash-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: prek
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Prek
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: prek-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

prek-fish-completion 0.4.4-1.1

Fish Completion for prek

https://github.com/j178/prek

sudo zypper install prek-fish-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: prek
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Prek
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: prek-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

prek-zsh-completion 0.4.4-1.1

Zsh Completion for prek

https://github.com/j178/prek

sudo zypper install prek-zsh-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: prek
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Prek
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: prek-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

prek

sudo port install prek
  • normalized package name match
  • Matched by: Prek
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/prek/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/prek

scoop install main/prek
  • normalized package name match
  • Matched by: Prek
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/prek.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

j178.Prek

winget install --id j178.Prek -e
  • normalized package name match
  • Matched by: Prek
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: j178.Prek from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment