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
| Platform | Architecture | Status |
|---|---|---|
| Linux | x64 | Supported |
| Linux | arm64 | Supported |
| macOS | arm64 (Apple Silicon) | Supported |
| macOS | x64 (Intel) | Supported |
Windows is not currently supported.