Automic VaultAutomic Vault

brew

Installer lefthook avec Homebrew, apk, MacPorts, Nix, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lefthook pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install lefthook

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install lefthook

MacPorts ports tree · devel/lefthook/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add lefthook

Alpine Linux edge package indexes · lefthook · Source: dl-cdn.alpinelinux.org

Nixvérifié · 92%
nix profile install nixpkgs#lefthook

nixpkgs package indexes · pkgs/by-name/le/lefthook/package.nix · Source: api.github.com

Windows

Scoopvérifié · 92%
scoop install main/lefthook

Scoop official bucket manifest trees · bucket/lefthook.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id evilmartians.lefthook -e

Windows Package Manager source index · evilmartians.lefthook · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Fast and powerful Git hooks manager for any type of projects

Commandes et alias

  • lefthook

historique

Historique du projet et usages

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.

Historique du projet

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/`.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2019-07-10: Evil Martians published an early Lefthook workflow article with Crystalball and Git automation.
  • 2019-07-30: Evil Martians published the main Lefthook introduction article.
  • 2019-08-28: Evil Martians described using Lefthook in documentation automation workflows.
  • 2024-01-18: Evil Martians described Lefthook's evolution beyond a simple Git-hook script wrapper.

Related projects

  • Related Git-hook tools include Husky, pre-commit, lint-staged, Overcommit, and language-specific package scripts. Evil Martians' surrounding open-source ecosystem also includes projects such as AnyCable, imgproxy, PostCSS-related tooling, and Crystalball.

posture de sécurité

Aucune couverture d'outil protégé trouvée pour le moment

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.

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

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

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
lefthook.ymllefthook-local.yml

exécutables

Exécutables installés

CommandeTypeExpositionNote
lefthookcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-25
version du gestionnaire2.1.10
gestionnaire mis à jour2026-07-08
données localesOK
amontà jour
dernière version détectéev2.1.10

https://github.com/evilmartians/lefthook

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:lefthook
Version2.1.10
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/lefthook
Page d'accueilhttps://github.com/evilmartians/lefthook
Dépôthttps://github.com/evilmartians/lefthook
Docs amonthttps://lefthook.dev/
LicenceMIT
Archive sourcehttps://github.com/evilmartians/lefthook/archive/refs/tags/v2.1.10.tar.gz
Dernière mise à jour2026-07-08T14:19:35Z
Pulseupdated
Dépendances de compilationgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelefthook
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

lefthook

nix profile install nixpkgs#lefthook
  • normalized package name match
  • Correspondance par : Lefthook
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/lefthook/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

lefthook 2.1.4-r2

Fast and powerful Git hooks manager

https://github.com/evilmartians/lefthook

sudo apk add lefthook
  • License: MIT
  • Architecture: x86_64
  • Source Package: lefthook
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Lefthook
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lefthook from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

lefthook-doc 2.1.4-r2

Fast and powerful Git hooks manager (documentation)

https://github.com/evilmartians/lefthook

sudo apk add lefthook-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: lefthook
  • normalized package name match
  • Correspondance par : Lefthook
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lefthook-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

lefthook

sudo port install lefthook
  • normalized package name match
  • Correspondance par : Lefthook
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/lefthook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/lefthook

scoop install main/lefthook
  • normalized package name match
  • Correspondance par : Lefthook
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/lefthook.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

evilmartians.lefthook

winget install --id evilmartians.lefthook -e
  • normalized package name match
  • Correspondance par : Lefthook
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: evilmartians.lefthook from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment