// Documentation

Getting started

Everything you need to deploy your first service in under 5 minutes.

Overview

Nexus is a globally distributed platform for running backend workloads close to your users. This guide walks you through installing the CLI, deploying a service, and inspecting its logs.

Install the CLI

The CLI works on macOS, Linux, and Windows (via WSL). Install with a single command:

curl -fsSL https://get.nexus.dev | sh

Verify the installation:

$ nexus --version
nexus version 1.14.2 (build 2026-03-18)

Authenticate

Log in with your account credentials. The CLI stores an API token in ~/.nexus/config.

nexus login

Your first deploy

Create a minimal nexus.toml in the root of your project:

[service]
name = "hello"
runtime = "node:20"

[regions]
primary = "fra1"
auto = true

Then deploy:

$ nexus deploy
→ building image... done (3.1s)
→ propagating to 240 edges
✓ live at https://hello.nexus.app

Environment variables

Set secrets that are available to your service at runtime:

nexus env set DATABASE_URL=postgres://...
nexus env set API_KEY=sk_live_...

Logs and metrics

Stream logs in real time, or query historical data from the dashboard:

nexus logs --follow
nexus metrics --since=1h