3 min readbeginner
CLI installation
The Edge CLI is the fastest way to manage your infrastructure. Install it in seconds, authenticate, and start deploying.
CoversPlatform
Quick install#
The fastest way to install the Edge CLI is with our install script. It detects your operating system and architecture automatically.
curl -fsSL https://edge.network/install.sh | sh# Run PowerShell as Administrator
iwr https://edge.network/install.ps1 -useb | iexVerify it worked:
edge --versionedge version 1.x.xManual install#
If you prefer not to pipe to shell, download the binary directly for your platform.
# Apple Silicon (M1/M2/M3/M4)
curl -LO https://cli.edge.network/latest/edge-darwin-arm64
chmod +x edge-darwin-arm64
sudo mv edge-darwin-arm64 /usr/local/bin/edge
# Intel Macs
curl -LO https://cli.edge.network/latest/edge-darwin-amd64
chmod +x edge-darwin-amd64
sudo mv edge-darwin-amd64 /usr/local/bin/edge# x86_64
curl -LO https://cli.edge.network/latest/edge-linux-amd64
chmod +x edge-linux-amd64
sudo mv edge-linux-amd64 /usr/local/bin/edge
# ARM64 (Raspberry Pi, AWS Graviton, etc.)
curl -LO https://cli.edge.network/latest/edge-linux-arm64
chmod +x edge-linux-arm64
sudo mv edge-linux-arm64 /usr/local/bin/edgeInvoke-WebRequest -Uri "https://cli.edge.network/latest/edge-windows-amd64.exe" -OutFile "edge.exe"
# Move to a directory in your PATH, or add the directory to PATH
Move-Item edge.exe C:\Windows\System32\edge.exeAuthenticate#
Once installed, log in with your API key. You can generate one in the console under API Keys.
# Interactive: prompts for your key
edge auth loginEnter your API key: ek_live_...
Authenticated as My Project (you@example.com)# Non-interactive: pass the key directly (useful for CI/CD)
edge auth login --key ek_live_your_key_here
# Or via environment variable
export EDGE_API_KEY=ek_live_your_key_hereCheck your authentication status at any time:
edge auth statusStatus: Authenticated
Account: My Project
User: John Smith
Email: you@example.com
Plan: StartupTry it out#
Once authenticated, try a few commands to see what you’ve got:
# See your account overview
edge account
# List all your resources
edge compute list
edge cdn list
edge dns list
edge storage list
# Check your usage
edge account usageConfiguration#
The CLI stores its configuration at ~/.edge/config.json. You can customise defaults to save typing:
# Set default output format to JSON
edge config set output json
# Set a default region for new resources
edge config set default_region london
# View all config
edge config listOutput formats#
The CLI supports three output formats, controlled with the -o flag:
table: human-readable tables (default). Best for interactive use.json: JSON output. Best for scripting and piping to other tools likejq.quiet: minimal output, just IDs and essential values. Best for shell scripts.
Updating#
The CLI checks for updates automatically and will let you know when a new version is available. To update, just run the install command again:
# Re-run the install script
curl -fsSL https://edge.network/install.sh | sh
# Or update from within the CLI
edge updateNext steps
Keep learning
Getting started3 min read
Quick start guide
Go from zero to deployed in 10 minutes. This guide walks you through creating an account, installing the CLI and deploying your first resource.
Getting started4 min read
First deployment
You've got an account and the CLI installed. Now let's deploy something real. Pick your product and follow along.
Getting started3 min read
Account setup guide
A complete walkthrough of setting up your Edge Network account, from signup to security configuration. Get your account production-ready in 5 minutes.