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

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

Learn how to install the Azure CLI on any operating system you have including how to get started using it in the Azure Shell!

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

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Multi-cloud Spending: 8 Tips To Lower Cost

Mismanagement of multi-cloud expense costs an arm and leg to business and its management has become a major pain point. Here we break down some crucial tips to take some of the management challenges off your plate and help you optimize your cloud spend.

Microsoft Innovates Its Azure Multi-Cloud, Multi-Edge Hybrid Capabilities

During the recent Ignite virtual conference, Microsoft announced several updates for their Azure multi-cloud and edge hybrid offerings. These updates span from security innovations to new edge capabilities.

Microsoft Introduces Azure Space to Further Push the Boundaries of Cloud Computing

Recently Microsoft launched its Azure Space initiative as a further push of cloud computing towards space. This initiative by the public cloud vendor consists of several products and partnerships to position Azure as a critical player in the space- and satellite-related connectivity and compute part of the cloud market.

Alkira Teams Up with Microsoft to Transform the Cloud Networking Journey to Azure

Alkira Teams Up with Microsoft to Transform the Cloud Networking Journey to Azure. Alkira also announced that the Alkira Cloud Services Exchange (CSX) – the core of the company’s Network Cloud platform – is now available on the Azure Marketplace.

Microsoft Releases Azure Attestation into General Availability

Microsoft recently announced the general availability of Azure Attestation, a unified solution for remotely verifying the trustworthiness of a platform and the integrity of the binaries running inside it.