Demo Technical
Getting Started

CLI setup

Install, authenticate, and operate the Relay Edge CLI.

The Relay CLI manages auth profiles, local emulation, and multi-region deploys. Install it once per workstation and store tokens in the OS keychain.

Install

bashExample
npm install -g @relay-edge/cli
relay login

Useful commands

bashcommands.sh
relay whoami
relay functions list
relay logs tail hello-edge --region us-east
relay deploy --env production
  • OKrelay login succeeds for your workspace
  • Local emulator serves http://127.0.0.1:8787
  • Production deploy prints a regional URL
Warning
Never pass tokens as CLI flags in CI. Prefer OIDC federation or a secrets manager inject.
TLS inspection issues
Corporate SSL inspection can break relay login. Export NODE_EXTRA_CA_CERTS to your corporate root bundle.