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 | shThe 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:
| Variable | What it sets |
|---|---|
HARDENKIT_VERSION | The version to install. The default is the latest release |
HARDENKIT_INSTALL_DIR | Where to put the binary |
Homebrew
On macOS or Linux with Homebrew:
brew install hardenkit/tap/hardenkitUpgrade 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 versionBuild from source
You need Go; go.mod names the version.
git clone https://github.com/hardenkit/scan
cd scan
make build # writes bin/hardenkit