Install the Azure CLI
The Azure CLI is available to install in Windows, macOS and Linux environments. It can also be run in a Docker container and Azure Cloud Shell.
The current version of the Azure CLI is 2.13.0. For information about the latest release, see the release notes. To find your installed version and see if you need to update, run
- Install on Windows
- Install on macOS
- Install on Linux or Windows Subsystem for Linux (WSL)
- Run in Docker container
- Run in Azure Cloud Shell
If you're using the Azure classic deployment model, install the Azure classic CLI.
The CLI provides an in-tool command to update to the latest version:
az upgrade command was added in version 2.11.0 and will not work with versions prior to 2.11.0.
This command will also update all installed extensions by default. For more
az upgrade options, please refer to the command reference page.
See What is Azure CLI? for key characteristics.