The Microsoft Azure CLI (Command Line Interface) is a set of commands used to create and manage Microsoft’s Azure cloud resources. This toolset has been designed to get you up and running quickly by creating resources from the command line, emphasizing automation.

Microsoft made this CLI available on various platforms, including macOS, Linux, and Docker containers. This article will take you through step-by-step how to install the CLI on each platform and include how to get up and running on Azure Cloud Shell.

Related:Getting Started with the Azure CLI

Table of Contents

Prerequisites

This article will be a tutorial. If you plan on following along step-by-step, you will need an Azure Cloud account. A free account will work fine to follow this tutorial.

For each operating system shown, you will see the prereq and what version the tutorial used.

Running Azure CLI in Azure Cloud Shell

If you want to start using the Azure CLI immediately with no installation, the Azure Cloud Shell is your friend. When running in Azure Cloud Shell, the Azure CLI requires no installation and is highly portable. After all, you just need a web browser.

To use the Azure CLI within Azure Cloud Shell, you do need to configure your environment such as the storage account Cloud Shell will use. Let’s do that now.

  1. Open a web browser on any operating system and navigate to the Azure Cloud Shell.
  • 2. Next, click on Create storage to create the storage account as shown below. This step will instruct Azure to create a storage account following all default settings.

#cloud #microsoft azure #azure cli

How to Install the Azure CLI (Windows, Linux, macOS, Azure Shell)
1.95 GEEK