macOS
brew install preklocal Homebrew formula metadata
sudo port install prekMacPorts ports tree · devel/prek/Portfile · ソース: api.github.com
brew / 順位 931
prek のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install preklocal Homebrew formula metadata
sudo port install prekMacPorts ports tree · devel/prek/Portfile · ソース: api.github.com
nix profile install nixpkgs#preknixpkgs package indexes · pkgs/by-name/pr/prek/package.nix · ソース: api.github.com
sudo zypper install prekopenSUSE Tumbleweed package metadata · prek · ソース: download.opensuse.org
scoop install main/prekScoop official bucket manifest trees · bucket/prek.json · ソース: api.github.com
winget install --id j178.Prek -eWindows Package Manager source index · j178.Prek · ソース: cdn.winget.microsoft.com
概要
Fast Git hook manager written in Rust, drop-in alternative to pre-commit
履歴
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.
セキュリティ状態
prek に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.toml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
prek | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:prek |
|---|---|
| バージョン | 0.5.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/prek |
| ホームページ | https://prek.j178.dev/ |
| リポジトリ | https://github.com/j178/prek |
| 上流ドキュメント | https://prek.j178.dev/ |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/j178/prek/archive/refs/tags/v0.5.0.tar.gz |
| 最終更新 | 2026-09-16T03:48:46+02:00 |
| Pulse | updated |
| ビルド依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.