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:
curl -fsSL https://cli.azion.app/install.sh | bashazion loginazion initazion deployInstalling Azion CLI
Recommended: Remote Script
The fastest way to install Azion CLI is using the remote installation script:
curl -fsSL https://cli.azion.app/install.sh | bashPackage 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:
sudo rpm -i <downloaded_file>sudo dpkg -i <downloaded_file>apk add <downloaded_file>brew install azionsudo apt install ./<download_file_path>Using Chocolatey:
choco install azionUsing Windows Package Manager:
winget install aziontech.azionUpdating
To update the Azion CLI, download the latest package from the releases page and run the appropriate command according to your chosen tool:
sudo rpm -i <downloaded_file>sudo dpkg -i <downloaded_file>apk add <downloaded_file>brew upgrade azionsudo apt install ./<download_file_path>Using Chocolatey:
choco upgrade azionUsing Windows Package Manager:
winget upgrade aziontech.azionWeb 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