title | description | author | ms.author | ms.date | ms.service | ms.topic | ms.custom |
---|---|---|---|---|---|---|---|
What is the Azure Developer CLI? |
Overview of the features and capabilities of the Azure Developer CLI that helps developers be more productive when building and deploying apps to Azure. |
alexwolfmsft |
alexwolf |
10/01/2024 |
azure-dev-cli |
conceptual |
devx-track-azdevcli, build-2023 |
The Azure Developer CLI (azd
) is an open-source tool that accelerates provisioning and deploying app resources on Azure. azd
provides best practice, developer-friendly commands that map to key stages in your development workflow, whether you're working in the terminal, an integrated development environment (IDE), or through CI/CD (continuous integration/continuous deployment) pipelines.
azd
uses extensible blueprint templates that include everything you need to get an application up and running on Azure. These templates include:
- Reusable infrastructure as code assets to provision cloud resources services using Bicep or Terraform.
- Proof-of-concept or starter app code that can be customized or replaced with your own app code.
- Configuration files to handle deploying your app to the provisioned resources.
- Optionally, pipeline workflow files for GitHub Actions or Azure Pipelines to enable CI/CD integrations.
You can also create your own template or find one to customize and expand on from the Awesome AZD gallery.
The following steps demonstrate the basics of a common azd
workflow. Visit the installation and quickstart pages for more details on installing and getting started with azd
.
You can install azd
on common platforms using a single command:
winget install microsoft.azd
brew tap azure/azd && brew install azd
curl -fsSL https://aka.ms/install-azd.sh | bash
After you install azd
, provision and deploy app resources to Azure in only a few steps:
-
Select an Azure Developer CLI template such as the
hello-azd
demo template that contains the app resources you want to provision and deploy. -
Run the
azd init
command to initialize the template:azd init -t hello-azd
-
Run the
azd up
command to package, provision and deploy the app resources:azd up
-
Iterate on the application code and deploy changes as needed by running
azd deploy
. -
Update Azure resources by modifying the template's Infrastructure as Code (IaC) and then running
azd provision
.[!NOTE] Alternatively, you can also run
azd up
whenever you make a changes to your app code or infrastructure files, which handles both provisioning and deploying app resources. Visit the [reference page] for a complete list ofazd
commands.
Check out the following video for a demonstration of working with azd
. More azd
video content is available on the Microsoft Developer YouTube channel.
[!VIDEO https://www.youtube.com/embed/f_HpDpEmWZ4?si=5Vf7BuRsO1hbsn0C]
- View supported languages and environments
- Install the Azure Developer CLI.
- Walk through the
azd
quickstart to see Azure Developer CLI in action.