First steps
Learn how to install and get authenticated with Azion CLI.
1. Installing
Installing the CLI using the RPM, Dpkg, or apk package managers
- Go to our releases page and download the desired package.
- 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> |
- 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
- 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 |
- 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
Related documentation
- Installing Azion CLI manually
- Running Azion CLI on macOS Operating System
- Configuring Azion CLI’s output
- Configuring Azion CLI’s autocomplete feature
Didn’t find what you were looking for? Open a support ticket.