Hosting » Azure » How do you check Azure CLI is installed?

How do you check Azure CLI is installed?

Last updated on September 25, 2022 @ 11:57 am

Azure CLI is a command-line interface to manage your Azure resources. You can install Azure CLI by running the following command in your Azure account:

curl -s https://raw.githubusercontent.

com/Azure/Azure-cli/master/install.sh | bash.

You can also install Azure CLI from the Microsoft Store.

To verify that Azure CLI is installed, open a command prompt and type the following command:

PRO TIP: The Azure CLI is a command-line tool that you can use to manage your Azure resources. There is no guarantee that the Azure CLI is installed on your system. To check if the Azure CLI is installed, please run the ‘az –version’ command. If you see an error, then the Azure CLI is not installed on your system.

Azure account list

If you see the Azure command listed in the output, then Azure CLI is installed. If you don’t see the Azure command, then you need to install Azure CLI.

To verify that Azure CLI is configured correctly, type the following command:

Azure account config

This command displays your current Azure account configuration. If you see the Azure account is set up and the default roles and scopes are correct, then Azure CLI is configured correctly.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.