1 of 20
2 of 20
3 of 20
4 of 20
5 of 20
6 of 20
7 of 20
8 of 20
9 of 20
10 of 20
11 of 20
12 of 20
13 of 20
14 of 20
15 of 20
16 of 20
17 of 20
18 of 20
19 of 20
20 of 20

doc

First steps

Learn how to install and get authenticated with Azion CLI.

  1. Installing
  2. Authorization on the Azion Platform

1. Installing

Installing the CLI using the RPM, Dpkg, or apk package managers

  1. Go to our releases page and download the desired package.
  2. Execute the command in the Install Command column of the table below for the chosen installation package. The CLI will be installed automatically.

Note: replace the <downloaded_file> placeholder with the installation package file downloaded in step 1.

Package Manager Website Documentation Install Command
RPM RPM package manager RPM Support Documentation sudo rpm -i <downloaded_file>
Dpkg Debian® 5 operating system Dpkg Support Documentation sudo dpkg -i <downloaded_file>
apk Alpine Linux® 6operating system support documentation apk apk add <downloaded_file>
  1. Run the azioncli --version command to test the installation. The CLI displays its installed current version number on the terminal.

Installing the CLI using Homebrew

  1. To use Homebrew, visit the official package installer website and follow the installation instructions located on its homepage. Then run the Install Command below:
Package Manager Website Documentation Install Command
Homebrew Homebrew package manager Homebrew Support Documentation brew install aziontech/tap/azioncli
  1. Run the azioncli --version command to test the installation. The CLI displays its installed current version number on the terminal.

Alternatives

Alternatively, you can install Azion CLI manually.

If you’re installing the CLI on a macOS operating system, see running Azion CLI on macOS.


2. Authorization on the Azion Platform

To manage your settings, you must generate a token that identifies you on the Azion platform.

For more information on how to create and manage your tokens, use the Azion API or see the Personal Tokens documentation page.

Once you’ve created your personal token and have it on your clipboard you can locally store it by using the following command:

    $ azioncli configure --token <your_token>

All subsequent commands will use that same token and will consider all permissions granted to the account that token belongs to.

You can replace your Personal Token at any time by repeating the command above.


Available commands



Didn’t find what you were looking for? Open a support ticket.