Installation

One-liner install

The fastest way to install Hain. The script detects your platform and architecture, downloads the latest release, verifies the SHA256 checksum, and installs it.

curl -fsSL https://raw.githubusercontent.com/hainlabs/hain-releases/main/install.sh | bash

Verify installation

hain --version
hain --help

Manual install

Download the tarball for your platform from GitHub Releases, then extract:

tar xzf hain-*.tar.gz -C ~/.local/share/hain

Verify checksum

Each release includes .sha256 checksum files. After downloading:

sha256sum -c hain-*.sha256

Update

Re-run the install command to get the latest version:

curl -fsSL https://raw.githubusercontent.com/hainlabs/hain-releases/main/install.sh | bash

Uninstall

curl -fsSL https://raw.githubusercontent.com/hainlabs/hain-releases/main/install.sh | bash -s -- --uninstall

Supported platforms

PlatformArchitectureStatus
Linuxx64Supported
Linuxarm64Supported
macOSarm64 (Apple Silicon)Supported
macOSx64 (Intel)Supported

Windows is not currently supported.