Appendix. Setting up Azure CLI on your machine

This appendix covers setting up Azure CLI locally on your machine, which allows you to connect to Azure and run commands on Azure resources without needing to use the Azure portal and Azure Cloud Shell. How you use Azure CLI locally on your machine is similar to how you use Azure Cloud Shell in that you run CLI commands or scripts using a terminal. Azure CLI is a cross-platform tool that you can install on Windows, Linux, and macOS.

Note To determine which version is installed locally on your machine and if you need to update Azure CLI, run the az --version command.

A.1 Setting up Azure CLI on Windows

To install Azure CLI on Windows, it’s recommended that you use an MSI, a distributable that allows ...

Get Azure Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.