Installing Hypha
Hypha provides prebuilt binaries for Linux and macOS, plus a source build path when you need to test unreleased commits. This page explains each option, when to use it, and how to verify the download before running it. For first-time users, install the binaries on your workstation and then follow the Quick Start Guide.
Choosing an installation method
- Installer — Recommended for Linux/macOS. Fetches the correct binary bundle for your platform and updates the PATH automatically.
- Cargo (from Git) — Use only when testing changes that have not been released yet. Requires the Rust toolchain and takes several minutes to compile.
Installer
The installer sctript supports modern Linux distributions (Debian, Ubuntu, Fedora, Amazon Linux) and macOS 13+ on Apple Silicon. To install the latest version, use curl to download the script and execute it with sh:
curl -LsSf https://hypha-space.org/install.sh | sh
...
installing to ~/.local/bin
hypha-gateway
hypha-worker
hypha-data
hypha-scheduler
hypha-certutil
hypha-inspect
everything's installed!
If your system doesn't have curl, you can use wget:
wget -qO- https://hypha-space.org/install.sh | sh
For installing a specific version please, visit the GitHub Releases page, select the desired version and follow the respective install instructions.
To inspect the installer script before use, download it using
curland inspect it usingless:curl -LsSf https://hypha-space.org/install.sh | less
Add $HOME/.local/bin to the PATH for service users or shells that do not source .profile automatically. On macOS, open a new terminal so login shells reload the updated PATH.
Building from source (Cargo)
Only build from source when you need unreleased changes or are modifying the code. The crates are not published on crates.io, so install directly from Git:
rustup toolchain install stable
cargo install --git https://github.com/hypha-space/hypha \
hypha-certutil \
hypha-data \
hypha-gateway \
hypha-scheduler \
hypha-worker \
hypha-inspect
This method builds the Hypha binaries from source, which requires a compatible Rust toolchain.
Uninstalling
Remove the binaries created by the installer:
rm -f ~/.local/bin/hypha-certutil \
~/.local/bin/hypha-data \
~/.local/bin/hypha-gateway \
~/.local/bin/hypha-scheduler \
~/.local/bin/hypha-worker \
~/.local/bin/hypha-inspect
Next steps
- Follow the Quick Start Guide to configure certificates, nodes, and run your first DiLoCo job.
- Study the Architecture and individual component docs (Gateway, Scheduler, Worker, Data Node) before deploying production clusters.