Automic VaultAutomic Vault

brew

lefthook mit Homebrew, apk, MacPorts, Nix, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für lefthook in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install lefthook

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install lefthook

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

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add lefthook

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

Nixverifiziert · 92%
nix profile install nixpkgs#lefthook

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

Windows

Scoopverifiziert · 92%
scoop install main/lefthook

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

Windows Package Managerverifiziert · 92%
winget install --id evilmartians.lefthook -e

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

Überblick

Paketzusammenfassung

Fast and powerful Git hooks manager for any type of projects

Befehle und Aliase

  • lefthook

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

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.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
lefthookcliglobales Executable

Aktualität

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

Seite generiert2026-07-25
Manager-Version2.1.10
Manager aktualisiert2026-07-08
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv2.1.10

https://github.com/evilmartians/lefthook

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:lefthook
Version2.1.10
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/lefthook
Homepagehttps://github.com/evilmartians/lefthook
Repositoryhttps://github.com/evilmartians/lefthook
Upstream-Dokumentationhttps://lefthook.dev/
LizenzMIT
Quellarchivhttps://github.com/evilmartians/lefthook/archive/refs/tags/v2.1.10.tar.gz
Zuletzt aktualisiert2026-07-08T14:19:35Z
Pulseupdated
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

lefthook

nix profile install nixpkgs#lefthook
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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