Install Azure CLI 2.0 on Microsoft Windows
Learn how to install Azure CLI on Linux or macOS here.
- Download the Azure CLI 2.0 MSI installer here.
- Launch the installer, select the check box to accept the License Agreement terms, and then click Install.
- From a command line (Windows Command Prompt or PowerShell), run the az login command.
Log in with any authentication option. Running the az login command is recommended. For more details and other options, see Sign in with Azure CLI 2.0 (© Microsoft 2022, available at docs.microsoft.com, retrieved March 25, 2022).
- When the browser launches prompting you to log in, sign in to Microsoft Azure with your account credentials.