← 返回命令列表

Linux command

az-version 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show

az version

Example

az version -o json

Example

az version --output table

说明

az version displays version information for the Azure CLI and all installed extensions. It shows the core CLI version, Python version, and individual extension versions. The command is useful for troubleshooting and verifying installations.

参数

-o, --output _format_
Output format. Accepted values: json, jsonc, none, table, tsv, yaml, yamlc. Default: json.

FAQ

What is the az-version command used for?

az version displays version information for the Azure CLI and all installed extensions. It shows the core CLI version, Python version, and individual extension versions. The command is useful for troubleshooting and verifying installations.

How do I run a basic az-version example?

Run `az version` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -o, --output _format_ do in az-version?

Output format. Accepted values: json, jsonc, none, table, tsv, yaml, yamlc. Default: json.