Docs / Quickstart

Quickstart

Go from a fresh account to offloading local commands onto your own Linux server.

Installing binaries (hosted installers, mirror, or source)

Your Control Plane serves pre-configured verified installers at /install.sh (CLI) and /install-agent.sh (Linux runner daemon) with your configured FERRO_AGENT_DOWNLOAD_BASE_URL and FERRO_AGENT_VERSION baked in as defaults. Both hosted scripts, scripts/install-agent.sh, and scripts/install-cli.sh verify SHA256SUMS (plus Sigstore Cosign signatures when cosign is installed). While the repository is private, configure FERRO_AGENT_DOWNLOAD_BASE_URL / --base-url to point at your public release mirror, or build both binaries locally with Rust 1.85+ (cargo).

1. Sign up and verify your email

Open Create Account, enter your name, email, and a password (10–128 characters), accept the Terms of Service and Privacy Policy, and submit. Ferro creates your personal organization with you as owner on the Free plan and sends a 1-hour email verification link (in local dev without RESEND_API_KEY, the verification URL is printed to the server stdout). Open the link to verify your address and sign in.

2. Create a BYO-Metal node

In the dashboard, open Fleet Nodes and click Add Linux server. Give the node a name (for example, hetzner-hel1-01), choose capability labels (such as linux, x86_64), and optionally enter a directUrl reachable over your private network or VPN (for example https://10.88.0.12:7420 — leave blank for zero-inbound-port Relay Mode).

When the node is created, Ferro displays its one-time frn_... bearer token and a generated Linux systemd bootstrap script. Copy the script now — the plaintext token is never shown again (only its SHA-256 hash is stored).

3. Install ferro-agent on your Linux server

Run the bootstrap script copied from Dashboard → Fleet Nodes as root on your Linux server. It detects your CPU architecture (x86_64 or aarch64), downloads ferro-agent + SHA256SUMS (verifying Cosign when available), installs /usr/local/bin/ferro-agent, creates the ferro system user, writes /etc/ferro/agent.env (chmod 600), and enables ferro-agent.service.

Or build ferro-agent from source when developing locally:

Build ferro-agent from source (alternative)
cargo build --release -p ferro-agentsudo install -m 0755 target/release/ferro-agent /usr/local/bin/ferro-agent

Within a few seconds of starting, the node registers and turns online in Fleet Nodes. See Agent Install & systemd for mirror URLs, CLI flags, Docker usage, and systemd details.

4. Create a personal CLI API token

In the dashboard, navigate to Settings → API Tokens and create a new token (for example, laptop-cli). Copy the one-time frk_... token immediately.

5. Install the CLI and run ferro login

Install the ferro CLI directly from your Control Plane's hosted /install.sh endpoint, via scripts/install-cli.sh, or by building from source with Cargo, then authenticate against your Control Plane URL:

Install or build ferro CLI and log in
# Hosted verified installer (pre-configured with your Control Plane's release mirror):curl -fsSL https://your-ferro-host/install.sh | bash# Or run the repo script directly (pass --base-url <MIRROR_URL> for a custom mirror):# bash scripts/install-cli.sh# Or build from source:# cargo build --release -p ferro-cliferro login --url https://your-ferro-host# (prompts securely with echo disabled, or pipe via stdin: printf '%s' "$FERRO_API_TOKEN" | ferro login --url https://your-ferro-host)ferro whoamiferro nodes

ferro login verifies your token via GET /api/cli/whoami and saves credentials to ~/.config/ferro/config.toml with 0600 permissions on Unix.

6. Initialize ferro.toml and offload your first run

Inside a local repository, generate a ferro.toml file and run a command on your online node:

Initialize config and run remotely
ferro initferro run "bun test"# Or run the default_command from ferro.toml:ferro run

ferro run computes SHA-256 hashes of your workspace (respecting .gitignore, .ferroignore, and the built-in sensitive file denylist) and uploads only missing blobs. In default Relay Mode, blobs upload over HTTPS to the Control Plane and logs stream via SSE; when an online node opts into directUrl, blobs and live NDJSON output flow directly over pinned-fingerprint TLS.

Next steps: Connect GitHub Webhooks or customize ferro.toml.