HyperRoute

Installation

HyperRoute Core ships as a single binary called routerd. Pick the installation method that fits your workflow.


Install Script (Recommended)

The fastest way to get started. Downloads the latest release for your platform:

curl -fsSL https://install.hyperroute.dev | sh

This installs routerd to ~/.hyperroute/bin and adds it to your PATH.

Verify the installation:

routerd --version

Docker

Pull the official image:

docker pull hyperroute/routerd:latest

Run with a local config:

docker run -p 4000:4000 -v ./router.yaml:/etc/hyperroute/router.yaml \
  hyperroute/routerd:latest serve --config /etc/hyperroute/router.yaml

Available tags: latest, 0.1.0, nightly.


Homebrew (macOS)

brew tap hyperroute/tap
brew install routerd

Build from Source

Requires Rust 1.75+:

git clone https://github.com/hyperroute/hyperroute-core.git
cd hyperroute-core
cargo build --release

The binary is at target/release/routerd.


CLI Reference

routerd serve

Start the router. This is the primary command for running HyperRoute.

routerd serve [OPTIONS]
FlagEnv VariableDefaultDescription
--config <path>HYPERROUTE_CONFIG./hyperroute.yamlPath to configuration file
--schema <path>HYPERROUTE_SCHEMAPath to supergraph SDL
--port <port>PORT4000HTTP listen port
--log-level <level>RUST_LOGinfoLog verbosity (debug, info, warn, error)
--hot-reloadtrueWatch config for changes (always on)

Examples:

# Start with defaults
routerd serve

# Custom config and port
routerd serve --config production.yaml --port 8080

# Debug logging
RUST_LOG=debug routerd serve

routerd init

Scaffold a new HyperRoute project:

routerd init [OPTIONS]
FlagDefaultDescription
--template <name>defaultProject template (default, federation, gateway)
--dir <path>.Output directory

This generates a starter hyperroute.yaml, example subgraph schemas, and a Docker Compose file for local development.


System Requirements

RequirementMinimumRecommended
CPU1 core4+ cores
Memory64 MB256 MB
Disk50 MB100 MB
OSLinux (x86_64, aarch64), macOS (arm64, x86_64)

HyperRoute is built in Rust with zero garbage collection. Memory usage stays flat regardless of traffic volume.


Next Steps