Setup and Installation

Let’s go ahead and install Azure CLI on Windows, Linux, and macOS systems.

The Azure CLI update is available for Windows, Linux, and macOS operating systems. We can also run the CLI using the Docker environment or directly from Azure Cloud Shell (the versions might be different). We have already explained how to use Azure Cloud Shell in the previous lessons.

Installation on Windows

To get the installer for Windows, visit this link.

After the installation, run the below command from the command prompt.

Press + to interact
az

If the command outputs show the help content, we can confirm that the installation worked. The command below will print the Azure CLI version on the running machine.

Press + to interact
az version

If the version is 2.14.0, then only a machine learning extension is available. Use the below command to upgrade the Azure CLI version.

Press + to interact
az upgrade

Now, add the ml extension for ...