macOS
brew install lefthooklocal Homebrew formula metadata
sudo port install lefthookMacPorts ports tree · devel/lefthook/Portfile · ソース: api.github.com
brew
lefthook のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install lefthooklocal Homebrew formula metadata
sudo port install lefthookMacPorts ports tree · devel/lefthook/Portfile · ソース: api.github.com
sudo apk add lefthookAlpine Linux edge package indexes · lefthook · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#lefthooknixpkgs package indexes · pkgs/by-name/le/lefthook/package.nix · ソース: api.github.com
scoop install main/lefthookScoop official bucket manifest trees · bucket/lefthook.json · ソース: api.github.com
winget install --id evilmartians.lefthook -eWindows Package Manager source index · evilmartians.lefthook · ソース: cdn.winget.microsoft.com
概要
Fast and powerful Git hooks manager for any type of projects
履歴
Lefthook is Evil Martians' Git hooks manager, packaged as a fast Go binary for teams that want one hook configuration across JavaScript, Ruby, Python, Go, and mixed-language repositories.
Evil Martians introduced Lefthook publicly in 2019 as part of a developer-experience workflow around Git hooks, CI, and test automation. The project's official materials describe it as a Git hooks manager for Node.js, Ruby, Python, and many other project types, with speed from Go and parallel command execution.
By 2024 Evil Martians described Lefthook as having grown from a wrapper around custom Git hook scripts into a broader automation tool for local development routines. The docs centered the normal workflow around creating `lefthook.yml` and running `lefthook install`, which writes hook shims under `.git/hooks/`.
Evil Martians' 2019 launch material named Discourse, Logux, and OpenStax as adopters, which placed Lefthook in the practical Git-hook-manager niche rather than as a toy demo. Later official pages emphasized package-manager installation through project ecosystems and system package managers, including Homebrew, npm, RubyGems, winget, yum, apt, apk, and Scoop.
Package users usually install the `lefthook` binary, commit `lefthook.yml`, run `lefthook install`, and let Git invoke Lefthook on events such as pre-commit, pre-push, or commit-msg. A common package-nerd use is replacing language-specific hook wrappers with a single binary that can dispatch linters, formatters, tests, and custom scripts in parallel.
Lefthook matters in package-manager culture because it sits at the boundary between Git, local automation, and language ecosystems: it is distributed as a native CLI while still fitting naturally into npm, Ruby, Python, and Homebrew workflows. Its appeal is the small, boring promise package nerds like: one config file, one binary, fewer per-language hook stacks.
セキュリティ状態
lefthook に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
lefthook.ymllefthook-local.yml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
lefthook | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/evilmartians/lefthook
インストールメタデータ
| パッケージキー | brew:lefthook |
|---|---|
| バージョン | 2.1.10 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/lefthook |
| ホームページ | https://github.com/evilmartians/lefthook |
| リポジトリ | https://github.com/evilmartians/lefthook |
| 上流ドキュメント | https://lefthook.dev/ |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/evilmartians/lefthook/archive/refs/tags/v2.1.10.tar.gz |
| 最終更新 | 2026-07-08T14:19:35Z |
| Pulse | updated |
| ビルド依存関係 | go |
| 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 | lefthook |
| 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 パッケージリンクとは分けて表示されます。
lefthook
nix profile install nixpkgs#lefthooklefthook 2.1.4-r2
Fast and powerful Git hooks manager
https://github.com/evilmartians/lefthook
sudo apk add lefthooklefthook-doc 2.1.4-r2
Fast and powerful Git hooks manager (documentation)
https://github.com/evilmartians/lefthook
sudo apk add lefthook-doclefthook
sudo port install lefthookmain/lefthook
scoop install main/lefthookevilmartians.lefthook
winget install --id evilmartians.lefthook -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.