Skip to content
English

Switch theme

// Run commands & scripts

pre-commitv4.6.2

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

Open source Maintained For agents

IN ONE PARAGRAPH

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

Good for: Developers who want their agent (Claude Code, Codex, Cursor…) to run commands & scripts.

01How to start

  1. 1Read the official README for requirements and permissions.
  2. 2Install it from the official package registry: brew install pre-commitpip install pre-commit
  3. 3Tell your agent the command exists (e.g. in AGENTS.md / CLAUDE.md) so it knows when to call it.

Homebrew: pre-commitPyPI: pre-commit

02Alternatives & comparison

Compare side by side →

03Related

Versions, why it is listed, for AI to read

Recent releases

For AI agents

Data updated: AI software & hot ranks · Software profiles & needs(UTC+8)