How to Install Azure CLI on Windows 10

In this article, We are going to cover How to Install Azure CLI on Windows, Login to Azure and Uninstall Azure CLI from Winnows 10.

How to Install Azure CLI on Windows

Step #1: Download Azure CLI .msi for Windows OS

Download the latest Azure CLI version for Windows from official Azure Site. Click on Current release of the Azure CLI and click on Save file.

download the latest azure cli and click on save file 1

Save the Azure CLI .msi in your system.

save the azure cli msi 2

once saved, Double click on Azure CLI msi, Accept the License agreement and Click on Install

accept license agreement and click on install 3

wait till Azure cli to install .

wait till install azure cli 4

Allow the Azure CLI app in your system

allow the azure cli app and click on yes 5

wait till Azure cli installation to complete.

wait till installation is complete 6

Click on Finish.

click on finish 7

OR

Installing Azure CLI using Powershell command

You can install Azure CLI using below powershell command

Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi

Step #2: Login to Azure using CLI

To login Azure CLI open command prompt or Windows power-shell and enter below command

az login
login to azure 8

you will be redirected to Azure portal, Login to Azure Portal with your username and password.

login to azure using browser 9

Uninstall Azure CLI from Windows

To uninstall Azure CLI from Windows 10 Go to Start -> then Settings > Apps

Type Azure search box and click on Uninstall.

click on uninstall azure cli 10

wait till uninstallation of Azure CLI to complete.

uninstallation in progress azure cli 11

Conclusion:

We have covered How to Install Azure CLI on Windows, Login to Azure and Uninstall Azure CLI from Winnows 10.

Related Articles:

How to Create a Virtual Machine Azure [8 Steps]

How to Install Azure CLI on Ubuntu 20.04/18.04 LTS

How to Create SQL Database in Azure/How to create SQL DB in Azure

How to Create Azure Container Instance [5 Steps]

How to Install Terraform on Amazon Linux

About DevOps Hint

DevOps Hint Founded in 2020 Community Site where you can find about How to Guides, Articles and Troubleshooting Tips for DevOps, SRE, Sysadmins and Developers.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link