Hain is in private beta. If you don’t have an invite yet, request one on the home page. The commands below are intended for invited users.

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

Run the in-app updater. It downloads the latest release for your platform, verifies its SHA256, and atomically swaps to the new version.

hain update

hain update --check reports whether a newer release is available without installing. See Updating for the rollback path, channel handling, and what the updater touches on disk.

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.