Skip to content

Install the CLI

The hearth command brings farms up and down, prints keys and tokens, shows status, uploads apps, lists and stops sessions, and runs the MCP server for coding agents. Release archives also hold hearth-agent, the device agent for Mac and Linux hosts.

One line

curl -fsSL https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh | sh

The installer:

  1. Picks the archive for your machine: macOS on Apple silicon or Intel, Linux on x86_64 or arm64 (glibc). Under Rosetta it picks the native arm64 build.
  2. Downloads hearth-<target>.tar.gz and SHA256SUMS from the latest GitHub release, and refuses to install if the archive's SHA-256 does not match.
  3. Puts hearth and hearth-agent in ~/.local/bin. It never uses sudo unless you pass --sudo.
  4. Tells you if that directory is not on your PATH, and prints the next steps.

Options go after sh -s --; each has an environment variable too:

Option Variable Default What
--version 0.2.0 HEARTH_VERSION latest Install a given release (v0.2.0 works too)
--install-dir DIR HEARTH_INSTALL_DIR ~/.local/bin Where the binaries go
--sudo HEARTH_USE_SUDO=1 off Use sudo when the directory is not writable
--dry-run off Print what would be downloaded and where it would go; change nothing
curl -fsSL https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh | sh -s -- --version 0.2.0 --install-dir /usr/local/bin --sudo

Check it:

hearth --version
hearth doctor        # checks Docker, kind, Helm, kubectl and, if set, the farm at HEARTH_URL

Read it first

The script is short POSIX sh. Read it at https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh or in the repository as install.sh, or download it, read it, then run sh install.sh.

Download by hand

Each release has one archive per platform, plus SHA256SUMS and a copy of install.sh:

Platform Archive
Linux x86_64 hearth-x86_64-unknown-linux-gnu.tar.gz
Linux arm64 hearth-aarch64-unknown-linux-gnu.tar.gz
macOS Apple silicon hearth-aarch64-apple-darwin.tar.gz
macOS Intel hearth-x86_64-apple-darwin.tar.gz
v=0.2.0
t=aarch64-apple-darwin
curl -fLO "https://github.com/test-zeus-ai/testzeus-hearth/releases/download/v$v/hearth-$t.tar.gz"
curl -fLO "https://github.com/test-zeus-ai/testzeus-hearth/releases/download/v$v/SHA256SUMS"
grep " hearth-$t.tar.gz\$" SHA256SUMS | shasum -a 256 -c -     # Linux: sha256sum -c -
tar -xzf "hearth-$t.tar.gz"
mv hearth hearth-agent ~/.local/bin/

The archive holds the two binaries at its top level.

Build from source

You need Rust (stable; the repository's rust-toolchain.toml selects it):

git clone https://github.com/test-zeus-ai/testzeus-hearth
cd hearth
cargo install --path crates/hearth-cli --locked
cargo install --path crates/hearth-agent --locked

Use this on platforms without a release archive, for example musl-based Linux such as Alpine.

Upgrade

Run the installer again. It replaces both binaries in place, so a running hearth-agent keeps going until you restart it:

curl -fsSL https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh | sh

Upgrading the CLI does not upgrade a farm. To upgrade a farm, run hearth up local again (or your helm upgrade); see Operations.

Uninstall

rm ~/.local/bin/hearth ~/.local/bin/hearth-agent

Use the directory you installed to if it was not the default. Removing the CLI leaves farms running; remove a local one with hearth down first. Skills installed with hearth skills install live in ~/.claude/skills/hearth-* or ./.claude/skills/hearth-*; delete those folders to remove them.

Mirrors and air-gapped installs

HEARTH_DOWNLOAD_BASE points the installer at another location holding the same files (hearth-<target>.tar.gz and SHA256SUMS), for example an internal mirror:

curl -fsSL https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh | HEARTH_DOWNLOAD_BASE=https://mirror.example.com/hearth/v0.2.0 sh

file:// locations work too, which is how the installer is tested (scripts/test-install.sh in the repository).