Automic VaultAutomic Vault

brew

Install pre-commit with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

Framework for managing multi-language pre-commit hooks. Version 4.6.0 via Homebrew; verified 2026-04-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pre-commit

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install pre-commit

MacPorts ports tree · python/pre-commit/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add pre-commit

Alpine Linux edge package indexes · pre-commit · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install pre-commit

Debian stable package indexes · pre-commit · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install pre-commit

Fedora Rawhide package metadata · pre-commit · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#pre-commit

nixpkgs package indexes · pkgs/by-name/pr/pre-commit/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S pre-commit

Arch Linux sync databases · pre-commit · source: geo.mirror.pkgbuild.com

overview

Package summary

Framework for managing multi-language pre-commit hooks

Commands and aliases

  • pre-commit

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to 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
.pre-commit-config.yaml

executables

Installed executables

CommandKindExposureNote
pre-commitcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.6.0
manager updated2026-04-22
local dataok
upstreamnot checked
latest detectednot detected

https://pre-commit.com/

install metadata

Package metadata

Package keybrew:pre-commit
Version4.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pre-commit
Homepagehttps://pre-commit.com/
Repositoryhttps://github.com/pre-commit/pre-commit
Upstream docshttps://pre-commit.com/
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/8e/22/2de9408ac81acbb8a7d05d4cc064a152ccf33b3d480ebe0cd292153db239/pre_commit-4.6.0.tar.gz
Last updated2026-04-22T22:23:14Z
Pulseupdated
Dependencieslibyaml, python@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

pre-commit 4.2.0-2

Git pre-commit hook framework

https://pre-commit.com

sudo apt install pre-commit
  • Section: utils
  • Architecture: all
  • 6 dependencies
  • normalized package name match
  • Matched by: Pre Commit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pre-commit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pre-commit

nix profile install nixpkgs#pre-commit
  • normalized package name match
  • Matched by: Pre Commit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/pre-commit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

pre-commit 3.6.2-1

Git pre-commit hook framework

https://pre-commit.com

sudo apt install pre-commit
  • Section: universe/utils
  • Architecture: all
  • 6 dependencies
  • normalized package name match
  • Matched by: Pre Commit
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pre-commit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

pre-commit 4.6.0-r0

framework for managing and maintaining multi-language pre-commit hooks

https://pre-commit.com

sudo apk add pre-commit
  • License: MIT
  • Architecture: x86_64
  • Source Package: pre-commit
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pre Commit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pre-commit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

pre-commit-pyc 4.6.0-r0

Precompiled Python bytecode for pre-commit

https://pre-commit.com

sudo apk add pre-commit-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: pre-commit
  • 1 dependencies
  • normalized package name match
  • Matched by: Pre Commit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pre-commit-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

pre-commit 4.6.0-5.fc45

Framework for managing and maintaining multi-language pre-commit hooks

https://pre-commit.com

sudo dnf install pre-commit
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: pre-commit
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Pre Commit
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pre-commit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

pre-commit 4.6.0-1

A framework for managing and maintaining multi-language pre-commit hooks

https://github.com/pre-commit/pre-commit

sudo pacman -S pre-commit
  • License: MIT
  • Architecture: any
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pre Commit
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pre-commit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

pre-commit

sudo port install pre-commit
  • normalized package name match
  • Matched by: Pre Commit
MacPorts ports tree · api.github.com · MacPorts ports tree: python/pre-commit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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