The current [pre-commit install instructions](https://devguide.python.org/getting-started/setup-building/#install-pre-commit-as-a-git-hook) are listed before the “Compile and build” section: ```sh $ pre-commit install --allow-missing-config pre-commit installed at .git/hooks/pre-commit ``` This doesn't work before `pre-commit` itself is installed, and it can't be installed if one doesn't have Python yet.