CmdID / az / az extension
az extension add
Add an extension. Azure CLI reference
6 options Its page in the Azure CLI reference
Options
--extension-name--source, -sFilepath or URL to an extension--systemUse a system directory for the extension.--upgradeUpdate the extension if already installed, otherwise just install the extension.--versionThe specific version of an extension--yes, -yDo not prompt for confirmation.