Skip to content

pre-commit

Framework for managing multi-language pre-commit hooks

Install it with Homebrew

brew install pre-commit
Latest version
4.6.2
Kind
command-line tool
Installs (last year)
124k
Licence
MIT
Homepage
pre-commit.com

Depends on

Rolling pre-commit out to a company Mac fleet

On a managed fleet, installing a command-line tool is a decision rather than a command. EnterpriseBrew puts that decision in one place: who may install pre-commit, which version they land on, and what is recorded when they do.

  • β€’ Approve it for everyone, for one team, or for one person β€” and let developers request it when it isn’t approved yet.
  • β€’ Hold the fleet on the version it has, so an upgrade lands when you decide rather than when upstream ships.
  • β€’ See it checked against the best available vulnerability data before it installs, not after the next scan.
  • β€’ Keep every install in an audit trail: who, which Mac, which version.