Azion CLI

Azion CLI is an open source command-line interface (CLI) that lets you interact with Azion Web Platform using a terminal. With Azion CLI, you can:

  • Initialize, build, and deploy edge applications with a single command.
  • Manage all Azion products and configurations as code.
  • Run a local development server for testing.
  • Automate workflows using scripts or CI/CD pipelines.

The Azion CLI is built in Go and interacts with Azion products through the Azion Go SDK. You can also interact with Azion using the Terraform Provider or the Azion API.


Quick Start

Get started with Azion CLI in seconds:

Terminal window
curl -fsSL https://cli.azion.app/install.sh | bash
azion login
azion init
azion deploy

Installing Azion CLI

The fastest way to install Azion CLI is using the remote installation script:

Terminal window
curl -fsSL https://cli.azion.app/install.sh | bash

Package Managers

Alternatively, you can install using your preferred package manager.

For RPM, Dpkg, apk, or .deb, go to the releases page and download the desired package, then run:

Terminal window
sudo rpm -i <downloaded_file>

Updating

To update the Azion CLI, download the latest package from the releases page and run the appropriate command according to your chosen tool:

Terminal window
sudo rpm -i <downloaded_file>

Web Frameworks

The CLI works with Azion Bundler, an open-source framework adapter that enables popular web frameworks to run on the edge. Supported frameworks include Next.js, React, Vue, Angular, Astro, and many more.

View supported frameworks Framework compatibility reference