About this Install Guide

This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.

Azure CLI is a cross-platform command-line tool that can be installed locally on development computers. Azure CLI is used to connect to Azure and execute administrative commands on Azure resources.

It is available for a variety of operating systems and Linux distributions and has multiple ways to install it.

Before you begin

General installation information is available which covers all supported Linux distributions. The instructions state that Azure CLI doesn’t support Linux on Arm.

It’s likely Arm support will come soon, monitor the GitHub issue for new details.

This article provides a quick solution to install Azure CLI for Ubuntu on Arm.

Confirm you are using an Arm machine by running:

    

        
        
            uname -m
        
    

The output should be:

    

        
        aarch64

        
    

If you see a different result, you are not using an Arm computer running 64-bit Linux.

Download and Install

The easiest way to install Azure CLI for Ubuntu on Arm is to use Python pip.

Install Python pip.

    

        
        
            sudo apt install python3-pip python-is-python3 -y
        
    

Download and install Azure CLI.

    

        
        
            pip install azure-cli
        
    

The pip install updates $HOME/.profile with the path the az executable. Check the executable is available by printing the version.

    

        
        
            source $HOME/.profile
az version
        
    

After a successful log in, you can use the Azure CLI and automation tools like Terraform from the terminal.


Feedback

How would you rate the overall quality of this tool quick-install guide?