Skip to content
CLI · Installation

CLI

Installation

Install the Edge CLI in seconds on any platform.

On this page8 sections

The fastest way to install on macOS or Linux:

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

This script auto-detects your OS and architecture, downloads the correct binary, and installs to /usr/local/bin.

Install via npm#

If you already have Node.js, install the CLI from npm. The package downloads the correct native binary for your platform:

Terminal
npm install -g @edge-network/cli

Works on macOS, Linux and Windows. The npm package version is pinned to the CLI version.

Manual installation#

Download the binary for your platform, make it executable and move it to a directory on your PATH. On Windows, run the commands in PowerShell.

Terminal
# Download the binary
curl -LO https://cli.edge.network/latest/edge-linux-amd64

# Make it executable
chmod +x edge-linux-amd64

# Move to PATH
sudo mv edge-linux-amd64 /usr/local/bin/edge

# Verify installation
edge version
Terminal
# Download the binary (Apple Silicon)
curl -LO https://cli.edge.network/latest/edge-darwin-arm64

# Or for Intel Macs
curl -LO https://cli.edge.network/latest/edge-darwin-amd64

# Make it executable
chmod +x edge-darwin-*

# Move to PATH
sudo mv edge-darwin-* /usr/local/bin/edge

# Verify installation
edge version
PowerShell
# Download from PowerShell
Invoke-WebRequest -Uri "https://cli.edge.network/latest/edge-windows-amd64.exe" -OutFile "edge.exe"

# Move to a directory in your PATH, or add the current directory to PATH
Move-Item edge.exe C:\Windows\System32\edge.exe

# Verify installation
edge version

Available binaries#

Platform Architecture Binary
Linux x86_64 edge-linux-amd64
Linux ARM64 edge-linux-arm64
Linux ARM (32-bit) edge-linux-arm
macOS Apple Silicon edge-darwin-arm64
macOS Intel edge-darwin-amd64
Windows x86_64 edge-windows-amd64.exe
Windows ARM64 edge-windows-arm64.exe

Verify the installation#

Text
$ edge version
edge version 1.0.0 (commit abc1234)

$ edge --help
Edge CLI - Manage Edge Network resources

Usage:
  edge [command]

Available Commands:
  auth        Manage authentication
  compute     Manage virtual machines
  cdn         Manage CDN deployments
  dns         Manage DNS zones and records
  storage     Manage object storage
  account     View account information
  config      Manage CLI configuration
  version     Show version information
  help        Help about any command

Flags:
  -h, --help           help for edge
  -o, --output string  Output format: table, json, yaml (default "table")
  -q, --quiet          Suppress non-essential output
  -v, --verbose        Show debug information

Use "edge [command] --help" for more information about a command.

Shell completion#

Enable tab completion for your shell.

Terminal
edge completion bash >> ~/.bashrc
source ~/.bashrc
Terminal
edge completion zsh >> ~/.zshrc
source ~/.zshrc
Terminal
edge completion fish > ~/.config/fish/completions/edge.fish

Updating#

Update to the latest version:

Terminal
edge update

Or re-run the install script to get the latest version.

Next steps