Single executable binary packages of pre-commit/pre-commit.
The following command will automatically download an appropriate executable binary and install it to /usr/local/bin/
:
curl -sSL https://raw.githubusercontent.com/thombashi/pre-commit-bin/main/scripts/installer.sh | sudo bash
- Navigate to release page
- Download the
deb
package that matches the platform of your environment - Execute
sudo dpkg -i pre-commit_*_amd64.deb