Azion CLI is an open source command-line interface (CLI) that lets you interact with Azion Edge Platform using a terminal. You can use Azion CLI to:
- Initialize, build, and deploy edge applications.
- Create Jamstack applications.
- Manage the edge applications on the platform.
- Have a local development server running.
- Link an existing project to an Azion edge application.
Azion disposes of a set of options to interact with the Azion products, such as:
The Azion CLI is built in Go and interacts with Azion products through the Azion Go SDK.
Installing Azion CLISection titled Installing Azion CLI
DownloadingSection titled Downloading
If you choose the RPM, Dpkg, or apk package manager, go to the releases page and download the desired package.
Choose one of the following options:
Updating Azion CLISection titled Updating Azion CLI
Every time a new version is released and any Azion command is used, a prompt informs the user about the new version and asks them if they wish to update it or not.
Global optionsSection titled Global options
versionSection titled version
--version option informs which Azion version you’ve currently installed.
debugSection titled debug
--debug option displays logs at a debug level.
configSection titled config
--config option sets the Azion configuration folder for the current command only, without changing persistent settings.
log-levelSection titled log-level
--log-level option informs the level of log to be output. The options are:
silentSection titled silent
--silent option silences logs completely. Usually, it’s used for automation purposes.
tokenSection titled token
--token option saves a given personal token locally to authorize CLI commands.
--yes option answers all yes/no interactions automatically with yes.
--help option displays more information about the
previous versions of Azion CLI 1.0.0