---
title: "CLI Installation"
description: "Install the Edge CLI on macOS, Linux, or Windows."
url: https://edge.network/docs/cli/installation/
---

# CLI Installation

CLI

# Installation

Install the Edge CLI in seconds on any platform.

## Quick Install (Recommended)

The fastest way to install on macOS or Linux:

```
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`.

## Manual Installation

Linux macOS Windows

### Linux (amd64)

```
# 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
```

### macOS

```
# 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
```

### Windows (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 Installation

```
$ 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:

Bash

```
# Bash
edge completion bash >> ~/.bashrc
source ~/.bashrc
```

Zsh

```
# Zsh
edge completion zsh >> ~/.zshrc
source ~/.zshrc
```

Fish

```
# Fish
edge completion fish > ~/.config/fish/completions/edge.fish
```

## Updating

Update to the latest version:

```
edge update
```

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

## Next Steps

[Authentication Set up your API key](https://edge.network/docs/cli/authentication) [Compute Commands Manage virtual machines](https://edge.network/docs/cli/compute)
[Back to Docs](https://edge.network/docs) [Need help?](https://edge.network/support)
