pre-commit-install-hooks - Man Page

pre-commit-install-hooks – Install hook environments for all environments in the config file

Synopsis

pre-commit install-hooks [-h] [--color {auto,always,never}] [-c CONFIG] directory

Options

Optional Arguments

-h--help

Show a help message and exit.

--color {auto,always,never}

Whether to use color in output. Defaults to auto.

-c,  --config CONFIG

Path to alternate config file.

Notes

You may find pre-commit install --install-hooks more useful.

See Also

pre-commit-autoupdate(1), pre-commit-clean(1), pre-commit-gc(1), pre-commit-init-templatedir(1), pre-commit-install(1), pre-commit-migrate-config(1), pre-commit-run(1), pre-commit-sample-config(1), pre-commit-try-repo(1), pre-commit-uninstall(1), pre-commit-validate-config(1), pre-commit-validate-manifest(1), pre-commit-help(1)

pre-commit(1)

Referenced By

pre-commit(1), pre-commit-autoupdate(1), pre-commit-clean(1), pre-commit-gc(1), pre-commit-help(1), pre-commit-init-templatedir(1), pre-commit-install(1), pre-commit-migrate-config(1), pre-commit-run(1), pre-commit-sample-config(1), pre-commit-try-repo(1), pre-commit-uninstall(1), pre-commit-validate-config(1), pre-commit-validate-manifest(1).

February 2025