How To Install And Configure Azure CLI

How To Install And Configure Azure CLI

How To Install And Configure Azure CLI

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In this blog post, we will discuss how to install and configure Azure CLI on different popular operating systems including Windows, RedHat, Ubuntu, etc.

What Is Azure CLI:

Azure Command Line Interface or Azure CLI is a collection of commands that can be used to interact with Azure service. Like in AWS we use AWS CLI or in GCP we use gcloud, in Azure you can use Azure CLI to create and manage your Azure resources.

Prerequisites:

  • One active Microsoft Azure account.

How To Install Azure CLI:

How To Install Azure CLI On Windows OS:

How To Install Azure CLI On MAC OS:

How To Install Azure CLI On Debian OS:

How To Install Azure CLI On Ubuntu OS:

How To Install Azure CLI On RedHat Enterprise Linux (RHEL) OS:

How To Install Azure CLI On Fedora OS:

How To Install Azure CLI On CentOS OS:

How To Install Azure CLI On openSUSE OS:

Next, we are going to configure Azure CLI.

How To Configure Azure CLI:

Open command prompt or bash and execute below command. It will open your default browser and ask for your Azure username and password.

Note: If your OS doesn’t have a browser, you will get an 8-digit code that you have to enter in below URL from another OS which has a browser.

https://aka.ms/devicelogin

How To Install And Configure Azure CLI

Getting Help On Azure CLI Commands:

Hope you have enjoyed this blog post. Please refer below Azure documentation for more details

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli

https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest

https://docs.microsoft.com/en-us/cli/azure/

 

Leave a Reply

Close Menu