CLI documentation
Edge CLI
Manage all Edge Network resources from your terminal.
Install the CLI with one command:
curl -fsSL https://edge.network/install.sh | shFeatures
- Single binary: no dependencies; works on macOS, Linux and Windows
- Fast: instant startup, efficient API communication
- Multiple output formats: table, JSON, YAML, or quiet mode for scripting
- Secure: API key authentication, credentials stored locally
- Activity tracking: all CLI actions logged with user and source attribution
Manage all products
| Product | Resources |
|---|---|
| Compute | VMs, keys, groups |
| CDN | Deployments, domains |
| DNS | Zones, records |
| Storage | Buckets, objects |
| Shield | Widgets, stats |
Quick examples
Create a VM:
edge compute create --name web-1 --size s-2vcpu-4gb --image ubuntu-24List DNS zones:
edge dns listUpload to Storage:
edge storage cp ./backup.tar.gz my-bucket/backups/Purge the CDN cache:
edge cdn purge my-deployment --path /images/*Add bot protection to a form:
edge shield create --name "Contact form" --hostname example.comIn this section
Installation
How to install the Edge CLI on macOS, Linux, and Windows using the one-line install script or manual binary downloads, plus shell completion and updates.
Authentication
Authenticate the Edge CLI with an API key: generate a key in the console, log in with edge auth login, use the EDGE_API_KEY variable, and set up CI/CD.
Compute commands
Edge CLI compute command reference: create, resize, and SSH into virtual machines, run startup scripts, and manage SSH keys, security groups, and metrics.
CDN commands
Edge CLI CDN command reference: create deployments, add custom domains with URL or storage origins, purge cached paths, and view traffic and cache metrics.
DNS commands
Edge CLI DNS command reference: create zones, add and update records, set up geographic routing, import and export BIND files, and view query metrics.
Storage commands
Edge CLI Storage command reference: create buckets, upload, download, move and sync files, generate presigned URLs and view usage metrics.
Shield commands
Edge CLI Shield command reference: create, update and revoke bot-protection widgets, view traffic stats and run the AI-powered Shield Examiner.
Configuration
Configure the Edge CLI with edge config: default region, output formats (table, JSON, quiet), global flags, environment variables, and scripting examples.
Something unclear or out of date? Tell us, or read this page as Markdown.