hk

Install command:
brew install hk

Git hook and pre-commit lint manager

https://hk.jdx.dev

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/hk.json

Formula code: hk.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 1.36.0
head ⚡️ HEAD

Depends on:

openssl@3 3.6.1 Cryptography and SSL/TLS Toolkit
pkl 0.30.2 CLI for the Pkl programming language
usage 2.18.1 Tool for working with usage-spec CLIs

Depends on when building from source:

mise 2026.2.20 Polyglot runtime manager (asdf rust clone)
rust 1.93.1 Safe, concurrent, practical language

Analytics:

Installs (30 days)
hk 130
Installs on Request (30 days)
hk 130
Build Errors (30 days)
hk 2
Installs (90 days)
hk 281
Installs on Request (90 days)
hk 281
Installs (365 days)
hk 1,327
Installs on Request (365 days)
hk 1,327