az version
Show the versions of Azure CLI modules and extensions in JSON format by default or format configured by --output Azure CLI reference
Show the versions of Azure CLI modules and extensions in JSON format by default or format configured by --output Azure CLI reference