macOS
brew install lefthooklocal Homebrew formula metadata
sudo port install lefthookMacPorts ports tree · devel/lefthook/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lefthook pour les workflows d'agents IA.
installation
brew install lefthooklocal Homebrew formula metadata
sudo port install lefthookMacPorts ports tree · devel/lefthook/Portfile · Source: api.github.com
sudo apk add lefthookAlpine Linux edge package indexes · lefthook · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#lefthooknixpkgs package indexes · pkgs/by-name/le/lefthook/package.nix · Source: api.github.com
scoop install main/lefthookScoop official bucket manifest trees · bucket/lefthook.json · Source: api.github.com
winget install --id evilmartians.lefthook -eWindows Package Manager source index · evilmartians.lefthook · Source: cdn.winget.microsoft.com
aperçu
Fast and powerful Git hooks manager for any type of projects
historique
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.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour lefthook. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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.ymlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
lefthook | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/evilmartians/lefthook
métadonnées d'installation
| Clé du paquet | brew:lefthook |
|---|---|
| Version | 2.1.10 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/lefthook |
| Page d'accueil | https://github.com/evilmartians/lefthook |
| Dépôt | https://github.com/evilmartians/lefthook |
| Docs amont | https://lefthook.dev/ |
| Licence | MIT |
| Archive source | https://github.com/evilmartians/lefthook/archive/refs/tags/v2.1.10.tar.gz |
| Dernière mise à jour | 2026-07-08T14:19:35Z |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.