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.35.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.16.1 Tool for working with usage-spec CLIs

Depends on when building from source:

mise 2026.2.4 Polyglot runtime manager (asdf rust clone)
rust 1.93.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
hk 129
Installs on Request (30 days)
hk 129
Build Errors (30 days)
hk 6
Installs (90 days)
hk 289
Installs on Request (90 days)
hk 289
Installs (365 days)
hk 1,431
Installs on Request (365 days)
hk 1,431