Best Tools to Run Azure CLI on Windows 11

βœ… Windows Terminal (Recommended)

πŸ’‘ Modern, powerful terminal app from Microsoft

Why it’s good
βœ” Tabs (PowerShell, Azure CLI, bash, WSL)
βœ” Split panes
βœ” Custom themes and fonts
βœ” Works well with Azure CLI + azcopy + Git

Install

  1. Open Microsoft Store
  2. Search Windows Terminal
  3. Install

Then run:

az login
az --version

🐧 WSL (Windows Subsystem for Linux)

πŸ’‘ A Linux environment inside Windows

Why it’s great
βœ” True Linux shell
βœ” Works well with scripts and tools (bash, curl, jq)
βœ” Same experience as on cloud/dev servers

Install
In PowerShell:

wsl --install

Then inside WSL (Ubuntu):

sudo apt update
sudo apt install azure-cli azcopy

Now Azure CLI runs just like on a Linux VM.


πŸ“¦ Azure Cloud Shell

πŸ’‘ Zero install β€” runs in browser or Visual Studio Code

Pros
βœ” Always up to date
βœ” Comes with Azure CLI + azcopy
βœ” Accessible from any machine

Access:
➑ https://shell.azure.com/

OR inside Azure Portal (top-right > Cloud Shell)


🐍 PowerShell with Azure CLI

Good if you like PowerShell scripting.

Just install Azure CLI and open PowerShell or Windows Terminal (PowerShell tab):

az login
az --version

Pro tip: Use the Azure PowerShell module too:

Install-Module -Name Az -Scope CurrentUser

🧰 Which One Should You Use for BEST Experience?

ToolCLI ExperienceEase of InstallBest For
Windows Terminal⭐⭐⭐⭐⭐⭐⭐⭐⭐Daily dev work
WSL (Ubuntu)⭐⭐⭐⭐⭐⭐⭐⭐Dev/scripting
Azure Cloud Shell⭐⭐⭐⭐⭐⭐⭐⭐⭐Quick commands / no install
PowerShell + Azure CLI⭐⭐⭐⭐⭐⭐⭐⭐Windows scripting

πŸ‘‰ Best overall: Windows Terminal + Azure CLI


πŸ“Œ How to Install Azure CLI on Windows 11

Step 0 β€” Install Windows Terminal (optional but recommended)

  1. Microsoft Store β†’ Windows Terminal
  2. Launch it

Step 1 β€” Install Azure CLI

In Windows Terminal (PowerShell tab):

winget install Microsoft.AzureCLI

or download from:
πŸ”— https://learn.microsoft.com/cli/azure/install-azure-cli-windows


Step 2 β€” Verify Installation

az --version

πŸ“Œ Installing AzCopy Side-by-Side

AzCopy is separate from Azure CLI.

Recommended install (Windows)

  1. Download from:
https://aka.ms/downloadazcopy-v10-windows
  1. Extract to folder, e.g.
C:\azcopy
  1. Add folder to PATH (so PowerShell can run azcopy)

🧠 Tips for Smooth CLI Experience

πŸ“Œ Auto-completion

In PowerShell with Azure CLI:

Install-Module -Name PSReadLine -Force

πŸ“Œ Log in once

az login

This will open the browser and authenticate your Azure account.


πŸ“Œ Use profiles in Windows Terminal

Create tabs:

  • Azure CLI
  • PowerShell
  • WSL Ubuntu

Easily switch between contexts.


πŸ§ͺ Quick Test After Setup

In Windows Terminal:

az account show
az group list

If you see JSON output β†’ CLI is working.


⚑ Optional Workflow Boost

Combine tools:

  • Windows Terminal
  • WSL (Ubuntu)
  • Cloud Shell for ephemeral tasks

This gives you the best CLI + script + automation experience on Windows 11.

FavoriteLoadingAdd to favorites

RECENT POSTS


Categories



Tags

ADO ai angular asian asp.net asp.net core azure ACA azure administration Azure Cloud Architect Azure Key Vault Azure Storage Blazor WebAssembly BLOB bootstrap c# containers css datatables design pattern docker excel framework Git HTML JavaScript jQuery json knockout lab LINQ linux power bi powershell REST API smart home SQL Agent SQL server SSIS SSL SVG Icon typescript visual studio Web API window os wordpress


ARCHIVE


DISCLAIMER