HardenKitDocs
Getting started

Installation

Install the hardenkit command on macOS, Linux or Windows, with the install script, Homebrew or a download.

macOS and Linux

curl -sSfL https://hardenkit.com/install.sh | sh

The script downloads the build for your system from the GitHub release, checks it against the release's checksums, and puts hardenkit in /usr/local/bin if that is writable, otherwise in ~/.local/bin.

Two variables change what it does:

VariableWhat it sets
HARDENKIT_VERSIONThe version to install. The default is the latest release
HARDENKIT_INSTALL_DIRWhere to put the binary

Homebrew

On macOS or Linux with Homebrew:

brew install hardenkit/tap/hardenkit

Upgrade later with brew upgrade hardenkit.

Windows

Download the windows_amd64 or windows_arm64 zip from the releases page, unpack it, and put hardenkit.exe on your PATH.

Any system, by hand

Every release has builds for macOS, Linux and Windows on Intel and ARM, with a checksums.txt file beside them.

Check it works

hardenkit version

Build from source

You need Go; go.mod names the version.

git clone https://github.com/hardenkit/scan
cd scan
make build    # writes bin/hardenkit

On this page