One command. No dependencies. Works on Linux and macOS.
$ curl -fsSL https://raw.githubusercontent.com/hainlabs/hain-releases/main/install.sh | bash
The install script detects your platform and architecture, downloads the latest release,
verifies the SHA256 checksum, and extracts to ~/.local/share/hain/.
Download the tarball for your platform directly from GitHub Releases. No runtime dependencies — each tarball bundles its own Node.js binary.
Re-run the install command to get the latest version:
curl -fsSL https://raw.githubusercontent.com/hainlabs/hain-releases/main/install.sh | bash Remove Hain and its symlinks:
curl -fsSL https://raw.githubusercontent.com/hainlabs/hain-releases/main/install.sh | bash -s -- --uninstall Each release includes SHA256 checksums. After downloading a tarball:
sha256sum -c hain-*.sha256 Windows is not currently supported.