Skip to main content
Install, update, and uninstall the mxnode binary. POSIX shell installer with sha256 verification.

Shortest command

Detects OS + CPU, downloads the matching release tarball, sha256-verifies against SHA256SUMS, and copies the binary into /usr/local/bin.

Options

Pass options after sh -s --:

Supported targets

Linux builds are statically linked against musl — no glibc version requirement.

Required tools

Rootless install

If $HOME/.local/bin isn’t on your PATH:

Update

Re-run the installer. The new binary overwrites the old in place. Existing nodes (elrond-node-{i}.service) are untouched — the upgrade is to the CLI, not to the node binaries.

Uninstall

mxnode places exactly one file: the binary at the install dir.
To also wipe the host’s mxnode-managed nodes + state + config + binstore, run cleanup before removing the binary.

Under the hood

  1. Detect OS (Linux/Darwin) and CPU (x86_64/aarch64).
  2. Resolve the release tag — explicit --version or latest from the GitHub API.
  3. Download mxnode-<TAG>-<TARGET>.tar.gz and SHA256SUMS.
  4. Compute the local sha256 and compare. Refuse on mismatch.
  5. Extract to a tempdir, then install -m 0755 the binary into --dir (with sudo if needed).
  6. Print the version.
The installer does not modify your shell rc, write any config, or contact anything outside github.com.