Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure Developer CLI (azd) extensions are modular components that extend the functionality of the Azure Developer CLI. They allow you to add new capabilities, automate workflows, and integrate with other services directly from the CLI. Extensions help you tailor azd to evolving team needs and Azure scenarios.
Note
azd extensions are currently in beta.
Manage extension sources
Extensions are distributed and managed through extension sources, making it easy to discover, install, and update them as your requirements grow.
- Extension sources are file or URL based manifests that provide lists of available
azdextensions. - Users can add custom extension sources that connect to private, local, or public registries.
- Extension sources are an equivalent concept to NuGet or Node Package Manager (NPM) feeds and must adhere to the official extension registry schema.
azd provides two extension source registries to help you get started with extensions:
- The official extension source registry is preconfigured in
azdand is hosted at https://aka.ms/azd/extensions/registry. - The development extension registry can also be added to your
azdconfiguration. This opt-in registry contains experimental extensions for internal testing that may or may not become official extensions.
To opt-in for the development registry run the following command:
# Add a new extension source name 'dev' to your `azd` configuration.
azd extension source add -n dev -t url -l "https://aka.ms/azd/extensions/registry/dev"
Caution
Extensions hosted in the dev registry DO NOT contain signed binaries at the moment.
Extension source commands
Use the following commands to manage extension sources for your azd installation.
List installed extension sources
azd extension source list
Add a new extension source
azd extension source add -n <name> -t url -l <registry-url>
-l, --location: The location of the extension source.-n, --name: The name of the extension source.-t, --type: The type of extension source. Supported types are file and url.
Remove an extension source
azd extension source remove <name>
Manage extensions
Once extensions are enabled and your extension sources are configured, you can install extensions to add new capabilities to azd. Visit the Quickstart - use the AI extension article for an example of working with extensions.
List extensions
`azd extension list [flags]
--installedDisplays a list of installed extensions.--sourceOnly list extensions from the specified source.--tagsAllows filtering extensions by tags (AI, test)
Install an extension
azd extension install <extension-names> [flags]
Replace <extension-name> with the name of the extension you want to install.
-v, --versionSpecifies the version constraint to apply when installing extensions.-s, --sourceSpecifies the extension source used for installations.
Upgrade an extension
azd extension upgrade <extension-name>
--allUpgrades all previously installed extensions when specified.-v, --versionUpgrades a specified extension using a version constraint, if provided.-s, --sourceSpecifies the extension source used for installations.
Uninstall an extension
azd extension uninstall <extension-name>
--allRemoves all installed extensions when specified.