Update or Install Azure CLI

Update or Install Azure CLI

Hi All,

I have a Project, where i need to use the AzureCLI. Therefore i need to install the latest update.

az version

Upgrade

Beginning with version 2.11.0, the Azure CLI provides an in-tool command to update to the latest version.

az upgrade

This downloads the current *.msi File and starts the installation

Successful installation

Let’s check the Version

az version

Install x64 Version

I didn’t like that is was 32 Bit and uninstalled the AzureCLI. I’ve downloaded the 64 Bit *.msi file

Installation Sucessful

Let’s check the AZCLI Version

az version

Login to Azure

Now we can login to Azure

az login --tenant icewolfch.onmicrosoft.com

You have to select the Subscription if there are multiple Subscriptions available

List Static Web Apps

Let’s list the Static Web Apps (Output is JSON by default)

az staticwebapp list

Let’s list the Static Web Apps with colored JSON Output

az staticwebapp list -o jsonc

Regards
Andres Bohren

Azure Logo