Latest builds:
Artifact | Version | Download |
---|---|---|
azd | Windows | Linux | Mac | |
vscode extension | VSIX |
The Azure Developer CLI (azd
) is a developer-centric command-line interface (CLI) tool for creating Azure applications. The goals of the CLI are to:
- reduce the time required for a developer to be productive
- demonstrate opinionated best practices for Azure development
- help developers understand core Azure development constructs
To take full advantage of the CLI, code repositories need to conform to a well defined set of conventions that will be recognized by the tooling. Please checkout the wiki for more information and to get started. Use discussions to participate in the conversation, ask questions, and see the latest announcements.
Install and upgrade using the following scripts. Re-running the script will install the latest available version.
For advanced install scenarios see Azure Developer CLI Installer Scripts.
winget install microsoft.azd
choco install azd
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
brew tap azure/azd && brew install azd
If using brew
to upgrade azd
from a version not installed using brew
, remove the existing version of azd
using the uninstall script (if installed to the default location) or by deleting the azd
binary manually.
curl -fsSL https://aka.ms/install-azd.sh | bash
The CLI supports shell completion for bash
, zsh
, fish
and powershell
.
To learn how to install shell completion for the CLI for your shell, run azd completion [bash | zsh | fish | powershell] --help
.
For example, to get the instructions for bash
run azd completion bash --help
The Azure Developer CLI uses MSI to install on Windows. Use the "Add or remove programs" dialog in Windows to remove the "Azure Developer CLI" application. If installed using a package manager like winget or choco, uninstall using the package manager's uninstall command.
Use this PowerShell script to uninstall Azure Developer CLI 0.4.0-beta.1 and earlier.
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/uninstall-azd.ps1' | Invoke-Expression"
If installed using the script, uninstall using this script.
curl -fsSL https://aka.ms/uninstall-azd.sh | bash
If installed using a package manager, uninstall using the package manager's uninstall command.
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkId=521839. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
Telemetry collection is on by default.
To opt out, set the environment variable AZURE_DEV_COLLECT_TELEMETRY
to no
in your environment.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
Please see our contributing guide for complete instructions on how you can contribute to the Azure Developer CLI.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Microsoft employees and partners who want to contribute templates to our official collections, must follow the standardization guidelines for template scaffolding and validation published here
Important Disclaimer: The standardization artifacts, definitions, and recommendations are frequently updated. Please make sure to visit the site often to follow the latest recommended practices.
Trademarks This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
Learn more about running third-party code on our DevHub