macOS
brew install lefthooklocal Homebrew formula metadata
sudo port install lefthookMacPorts ports tree · devel/lefthook/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für lefthook in AI-Agent-Workflows.
Installation
brew install lefthooklocal Homebrew formula metadata
sudo port install lefthookMacPorts ports tree · devel/lefthook/Portfile · Quelle: api.github.com
sudo apk add lefthookAlpine Linux edge package indexes · lefthook · Quelle: dl-cdn.alpinelinux.org
nix profile install nixpkgs#lefthooknixpkgs package indexes · pkgs/by-name/le/lefthook/package.nix · Quelle: api.github.com
scoop install main/lefthookScoop official bucket manifest trees · bucket/lefthook.json · Quelle: api.github.com
winget install --id evilmartians.lefthook -eWindows Package Manager source index · evilmartians.lefthook · Quelle: cdn.winget.microsoft.com
Überblick
Fast and powerful Git hooks manager for any type of projects
Verlauf
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.
Sicherheitslage
Für lefthook wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-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.
lefthook.ymllefthook-local.ymlExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
lefthook | 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.
https://github.com/evilmartians/lefthook
Installationsmetadaten
| Paketschlüssel | brew:lefthook |
|---|---|
| Version | 2.1.10 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/lefthook |
| Homepage | https://github.com/evilmartians/lefthook |
| Repository | https://github.com/evilmartians/lefthook |
| Upstream-Dokumentation | https://lefthook.dev/ |
| Lizenz | MIT |
| Quellarchiv | https://github.com/evilmartians/lefthook/archive/refs/tags/v2.1.10.tar.gz |
| Zuletzt aktualisiert | 2026-07-08T14:19:35Z |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| 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 | 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 -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.