macOS
brew install preklocal Homebrew formula metadata
sudo port install prekMacPorts ports tree · devel/prek/Portfile · Quelle: api.github.com
brew / Rang 931
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für prek in AI-Agent-Workflows.
Installation
brew install preklocal Homebrew formula metadata
sudo port install prekMacPorts ports tree · devel/prek/Portfile · Quelle: api.github.com
nix profile install nixpkgs#preknixpkgs package indexes · pkgs/by-name/pr/prek/package.nix · Quelle: api.github.com
sudo zypper install prekopenSUSE Tumbleweed package metadata · prek · Quelle: download.opensuse.org
scoop install main/prekScoop official bucket manifest trees · bucket/prek.json · Quelle: api.github.com
winget install --id j178.Prek -eWindows Package Manager source index · j178.Prek · Quelle: cdn.winget.microsoft.com
Überblick
Fast Git hook manager written in Rust, drop-in alternative to pre-commit
Verlauf
prek is a fast Git-hook manager written in Rust and designed as a drop-in alternative to pre-commit. It runs repository hooks, installs Git hook scripts, updates hook revisions, and accepts pre-commit-style project configuration.
prek began as a Rust reimplementation and drop-in alternative to the Python-based pre-commit tool. Its changelog documents rapid compatibility work across hook languages and workflows; release 0.4.5 declared full language coverage relative to pre-commit and described the project as being on the path to 1.0.
The official site lists adoption by projects including Apache Airflow, Apache Lucene, Ruff, FastAPI, Sentry, and Godot. Package availability recorded in source_facts.package-manager spans Homebrew, MacPorts, Nix, Scoop, WinGet, and zypper.
Users normally place hook definitions in prek.toml or .pre-commit-config.yaml, run hooks explicitly during development or CI, and install prek into Git’s hook lifecycle. An optional platform-level prek.toml controls user settings rather than project hook definitions.
prek brings the increasingly familiar “fast rewrite in Rust” pattern to Git-hook management while preserving pre-commit configuration compatibility. Its multi-platform packaging and ability to reuse established hook ecosystems make it especially interesting to developers who want faster tooling without migrating every repository configuration.
Sicherheitslage
Für prek wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
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.
Config paths the tool may read or write during local use.
prek.toml.pre-commit-config.yaml.pre-commit-config.yml$XDG_CONFIG_HOME/prek/prek.toml~/.config/prek/prek.toml%APPDATA%\prek\prek.tomlExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
prek | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:prek |
|---|---|
| Version | 0.5.3 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/prek |
| Homepage | https://prek.j178.dev/ |
| Repository | https://github.com/j178/prek |
| Upstream-Dokumentation | https://prek.j178.dev/ |
| Lizenz | MIT |
| Quellarchiv | https://github.com/j178/prek/archive/refs/tags/v0.5.0.tar.gz |
| Zuletzt aktualisiert | 2026-09-16T03:48:46+02:00 |
| Pulse | updated |
| Build-Abhängigkeiten | rust |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | prek |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
prek
nix profile install nixpkgs#prekprek 0.4.14-1.1
Reimagined version of pre-commit, built in Rust
sudo zypper install prekprek-bash-completion 0.4.14-1.1
Bash Completion for prek
sudo zypper install prek-bash-completionprek-fish-completion 0.4.14-1.1
Fish Completion for prek
sudo zypper install prek-fish-completionprek-zsh-completion 0.4.14-1.1
Zsh Completion for prek
sudo zypper install prek-zsh-completionprek
sudo port install prekmain/prek
scoop install main/prekj178.Prek
winget install --id j178.Prek -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.