---
title: "Edge CLI"
description: "Overview of the Edge CLI, a single binary for macOS, Linux, and Windows that manages compute, CDN, DNS, storage, and Shield with table, JSON, or YAML output."
url: "https://edge.network/docs/cli"
section: "CLI"
---

# Edge CLI

Manage all Edge Network resources from your terminal.

Install the CLI with one command:

```bash
curl -fsSL https://edge.network/install.sh | sh
```

## Features

- **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:

```bash
edge compute create --name web-1 --size s-2vcpu-4gb --image ubuntu-24
```

List DNS zones:

```bash
edge dns list
```

Upload to Storage:

```bash
edge storage cp ./backup.tar.gz my-bucket/backups/
```

Purge the CDN cache:

```bash
edge cdn purge my-deployment --path /images/*
```

Add bot protection to a form:

```bash
edge shield create --name "Contact form" --hostname example.com
```

## In this section

- [Installation](/docs/cli/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](/docs/cli/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](/docs/cli/compute) — 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](/docs/cli/cdn) — 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](/docs/cli/dns) — 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](/docs/cli/storage) — Edge CLI Storage command reference: create buckets, upload, download, move and sync files, generate presigned URLs and view usage metrics.
- [Shield commands](/docs/cli/shield) — Edge CLI Shield command reference: create, update and revoke bot-protection widgets, view traffic stats and run the AI-powered Shield Examiner.
- [Configuration](/docs/cli/configuration) — Configure the Edge CLI with edge config: default region, output formats (table, JSON, quiet), global flags, environment variables, and scripting examples.
