🪟 Windows

✅ Step 1: Download the installer

  1. Go to the official Azure CLI download page:
    👉 https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows

  2. Click on the link that says “Download the Microsoft Installer (MSI)”.

✅ Step 2: Install Azure CLI

  1. Open the downloaded .msi file.

  2. Follow the installer steps:

✅ Step 3: Verify the installation

Open Command Prompt or PowerShell, and type:

bash
az --version

This should show the version number, meaning it's installed correctly.

🍎 macOS

Open Terminal, then run the following:

bash
brew update && brew install azure-cli

Make sure you have Homebrew installed. If not, you’ll need to install that first.

Then check:

bash
az --version

🐧 Linux (Ubuntu/Debian)

In the terminal, run:

bash
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

Then verify:

bash
az --version