Introduction
Azure CLI(Command Line Interface) is a tool used to connect to Azure and create/manage/delete Azure resources via commands. It is a cross-platform tool that can run on Windows, macOS, and Linux. In this post, we will see how to download, install Azure CLI and login to Azure.
Download and install
It downloads the MSI file and after running the file, it installs the latest Azure CLI on your windows machine. A few screenshots during installation are below for your reference.
Run the Azure CLI
Once we install Azure CLI on windows, use Windows CMD(command line tool) or PowerShell to connect to Azure resources with az command. In the below screenshot, we opened Powershell and run az command.
Next use az login command to connect Azure then start administering Azure resources.