![Forrest logo](/images/logo.png)
az-version:tldr:7d5c8
az-version: Show the current version of Azure CLI modules and extensions in JSON format.
$ az version
try on your machine
The command "az version" is used in the Azure Command-Line Interface (CLI) to display the current version of the Azure CLI and its associated components.
When you run the command "az version", it will provide information about versions of various components such as the Azure CLI core module, installed extensions, Python version, OS version, and more. This command helps you determine the version of your Azure CLI installation, which can be useful for troubleshooting or compatibility purposes.
The output of the command will typically look something like this:
azure-cli 2.26.0
core 2.26.0
telemetry 1.0.6
This example shows that the Azure CLI core module and overall Azure CLI version is 2.26.0.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.