{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "CLI documentation | Edge Docs",
  "headline": "CLI documentation | Edge Docs",
  "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",
  "image": "https://edge.network/og/docs__cli.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Docs",
        "item": "https://edge.network/docs"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Cli",
        "item": "https://edge.network/docs/cli"
      }
    ]
  },
  "section": "documentation/cli",
  "articleBody": "Docs CDN Deployments, domains, caching, purging and on-the-fly image optimisation. Getting started \n Deployments \n Domains & SSL \n Compute Virtual machines in seconds: networking, firewalls, backups and SSH keys. Getting started \n Creating VMs \n Managing VMs \n DNS Zones, records, geo-routing, backups and development domains. Getting started \n Zone management \n DNS records \n Storage S3-compatible buckets, access keys, presigned URLs and multipart uploads. Getting started \n Buckets \n Access keys \n Shield Privacy-first bot protection: widget modes, siteverify and verified agents. Getting started \n Widget modes \n JavaScript API \n Assist AI answers from your own content: widget, ingestion and the API. Getting started \n Widget & embedding \n Content ingestion \n REST API Manage every Edge resource over HTTPS with API keys. Authentication \n Errors \n Versioning \n Compute \n CDN \n DNS \n CLI One binary for macOS, Linux and Windows to script every product. Installation \n Authentication \n Compute commands \n CDN commands \n DNS commands \n Storage commands \n Dev tooling Command palette and keyboard shortcuts across the console. Command palette \n Agent tooling Let AI agents deploy and manage infrastructure: discovery, MCP and access codes. Start with the overview MCP server \n MCP tool reference \n Connect your tool \n Framework wrappers \n Self-signup \n Access codes \n Discovery endpoint \n Deploy a static site \n Deploy an app \n Projects \n Bot protection \n AI answers \n Account & support Teams, security, audit logs, alerts, billing tools and support. Start with the overview Teams \n Referral programme \n Cost Advisor \n Security \n Two-factor auth \n Audit log \n Alerts \n Support tickets \n Search the docs ⌘K Console Products\n\n CDN Compute DNS Storage Shield Assist Developer tools\n\n REST API CLI Overview Installation Authentication Compute commands CDN commands DNS commands Storage commands Shield commands Configuration Dev tooling Agents\n\n Agent tooling Account\n\n Account & support Install the CLI with one command:\n\n Terminal Copy Text curl -fsSL https://edge.network/install.sh | sh Features Copy Anchor Link \n\n Single binary: no dependencies; works on macOS, Linux and Windows\n Fast: instant startup, efficient API communication\n Multiple output formats: table, JSON, YAML, or quiet mode for scripting\n Secure: API key authentication, credentials stored locally\n Activity tracking: all CLI actions logged with user and source attribution\n Manage all products Copy Anchor Link \n\n Product Resources Compute VMs, keys, groups CDN Deployments, domains DNS Zones, records Storage Buckets, objects Shield Widgets, stats Quick examples Copy Anchor Link \n\n Create a VM:\n\n Terminal Copy Text edge compute create --name web-1 --size s-2vcpu-4gb --image ubuntu-24 List DNS zones:\n\n Terminal Copy Text edge dns list Upload to Storage:\n\n Terminal Copy Text edge storage cp ./backup.tar.gz my-bucket/backups/ Purge the CDN cache:\n\n Terminal Copy Text edge cdn purge my-deployment --path /images/* Add bot protection to a form:\n\n Terminal Copy Text edge shield create --name \" Contact form \" --hostname example.com In this section\n\n Installation\n\n 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.\n\n Authentication\n\n 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.\n\n Compute commands\n\n Edge CLI compute command reference: create, resize, and SSH into virtual machines, run startup scripts, and manage SSH keys, security groups, and metrics.\n\n CDN commands\n\n Edge CLI CDN command reference: create deployments, add custom domains with URL or storage origins, purge cached paths, and view traffic and cache metrics.\n\n DNS commands\n\n Edge CLI DNS command reference: create zones, add and update records, set up geographic routing, import and export BIND files, and view query metrics.\n\n Storage commands\n\n Edge CLI Storage command reference: create buckets, upload, download, move and sync files, generate presigned URLs and view usage metrics.\n\n Shield commands\n\n Edge CLI Shield command reference: create, update and revoke bot-protection widgets, view traffic stats and run the AI-powered Shield Examiner.\n\n Configuration\n\n Configure the Edge CLI with edge config: default region, output formats (table, JSON, quiet), global flags, environment variables, and scripting examples.\n\n Something unclear or out of date? Tell us , or read this page as Markdown .\n\n Shield\n\n Previous\n\n Installation\n\n Next",
  "headings": [
    {
      "level": 1,
      "text": "Edge CLI"
    },
    {
      "level": 2,
      "text": "In this section"
    },
    {
      "level": 3,
      "text": "Installation"
    },
    {
      "level": 3,
      "text": "Authentication"
    },
    {
      "level": 3,
      "text": "Compute commands"
    },
    {
      "level": 3,
      "text": "CDN commands"
    },
    {
      "level": 3,
      "text": "DNS commands"
    },
    {
      "level": 3,
      "text": "Storage commands"
    },
    {
      "level": 3,
      "text": "Shield commands"
    },
    {
      "level": 3,
      "text": "Configuration"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/cdn/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Deployments",
      "url": "https://edge.network/docs/cdn/deployments"
    },
    {
      "@type": "WebPage",
      "name": "Domains &amp; SSL",
      "url": "https://edge.network/docs/cdn/domains"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/compute/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Creating VMs",
      "url": "https://edge.network/docs/compute/creating-vms"
    },
    {
      "@type": "WebPage",
      "name": "Managing VMs",
      "url": "https://edge.network/docs/compute/managing-vms"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/dns/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Zone management",
      "url": "https://edge.network/docs/dns/zones"
    },
    {
      "@type": "WebPage",
      "name": "DNS records",
      "url": "https://edge.network/docs/dns/records"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/storage/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Buckets",
      "url": "https://edge.network/docs/storage/buckets"
    },
    {
      "@type": "WebPage",
      "name": "Access keys",
      "url": "https://edge.network/docs/storage/access-keys"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/shield/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget modes",
      "url": "https://edge.network/docs/shield/widget-modes"
    },
    {
      "@type": "WebPage",
      "name": "JavaScript API",
      "url": "https://edge.network/docs/shield/js-api"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/assist/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget &amp; embedding",
      "url": "https://edge.network/docs/assist/widget"
    },
    {
      "@type": "WebPage",
      "name": "Content ingestion",
      "url": "https://edge.network/docs/assist/ingestion"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/api/authentication"
    },
    {
      "@type": "WebPage",
      "name": "Errors",
      "url": "https://edge.network/docs/api/errors"
    },
    {
      "@type": "WebPage",
      "name": "Versioning",
      "url": "https://edge.network/docs/api/versioning"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/docs/api/compute"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/docs/api/cdn"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/docs/api/dns"
    },
    {
      "@type": "WebPage",
      "name": "Installation",
      "url": "https://edge.network/docs/cli/installation"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/cli/authentication"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/docs/cli",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-23T02:00:49.256Z"
}