APK packages for Alpine
sudo apk add --no-cache bash curl
curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.alpine.sh' | sudo -E bash
sudo apk add lefthook
See all instructions: https://cloudsmith.io/~evilmartians/repos/lefthook/setup/#formats-alpine