az extension

Manage and update CLI extensions.

Commands

az extension add Add an extension.
az extension list List the installed extensions.
az extension list-available List publicly available extensions.
az extension remove Remove an extension.
az extension show Show an extension.
az extension update Update an extension.

az extension add

Add an extension.

az extension add [--name]
[--source]
[--yes]

Examples

Add extension by name

az extension add --name anextension

Add extension from URL

az extension add --source https://contoso.com/anextension-0.0.1-py2.py3-none-any.whl

Add extension from local disk

az extension add --source ~/anextension-0.0.1-py2.py3-none-any.whl

Optional Parameters

--name -n

Name of extension.

--source -s

Filepath or URL to an extension.

--yes -y

Do not prompt for confirmation.

az extension list

List the installed extensions.

az extension list

az extension list-available

List publicly available extensions.

az extension list-available

Examples

List all publicly available extensions

az extension list-available

List details on a particular extension

az extension list-available --query anextension

az extension remove

Remove an extension.

az extension remove --name

Required Parameters

--name -n

Name of extension.

az extension show

Show an extension.

az extension show --name

Required Parameters

--name -n

Name of extension.

az extension update

Update an extension.

az extension update --name

Required Parameters

--name -n

Name of extension.