If using pdm:
pdm
cd path/to/es-vocab pdm install pdm run pre-commit install
Otherwise:
cd path/to/es-vocab pip install pre-commit pre-commit install