Forrest logo
back to the az tool

az-version:tldr:85b18

az-version: Show the current version of Azure CLI modules and extensions in a given format.
$ az version --output ${select}
try on your machine

The command "az version --output ${select}" is used in the Azure Command-Line Interface (CLI) to display the version of the Azure CLI currently installed on your machine. It also allows you to specify the output format.

Here's a breakdown of the command:

  • "az" refers to the Azure CLI.
  • "version" is the command used to display the current version of the Azure CLI.
  • "--output" is an optional parameter used to specify the format of the output.
  • "${select}" is a placeholder that suggests the value you can provide to specify the desired output format.

The "--output" parameter accepts various values to determine the output format. For example, you can use "table" to display the output in a tabular format, "json" to get the output in JSON format, "tsv" for tab-separated values, etc. By using "${select}" as a placeholder, you are expected to replace it with one of these accepted values to specify your desired output format.

For instance, to display the version information in JSON format, you can use the command: "az version --output json".

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.
back to the az tool