A developer CLI that accelerates the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
Перейти к файлу
Matt Ellis ec85b9c5b3
chore: Update comments in `launch.json` (#4303)
I was talking with Marina today about my workflow for debugging
changes in `azd`. I use the "Debug azd cli" launch configuration for
most of my debugging and end up modifying `launch.json` to set the
`cwd` and other parameters for the profile for the specific end to end
I want to debug.  There are some `git` tricks that you can play to
ignore modifications to this file (so you don't have to worry about
checking them in).  I had documented them in one place but not the
other (since I typically run VS Code from within the `cli/azd` sub
folder, to have a smaller workspace) and didn't document how you undo
this behavior.

This patch updates the comments to show how to turn this off, and adds
them to our root `launch.json` as well.
2024-09-10 11:23:45 -07:00
.devcontainer chore: Adopt go 1.23 (#4214) 2024-08-26 14:00:58 -07:00
.github chore: Adopt go 1.23 (#4214) 2024-08-26 14:00:58 -07:00
.vscode chore: Update comments in `launch.json` (#4303) 2024-09-10 11:23:45 -07:00
assets
cli chore: Update comments in `launch.json` (#4303) 2024-09-10 11:23:45 -07:00
docs
eng Bump micromatch from 4.0.5 to 4.0.8 in /eng/common/spelling (#4253) 2024-08-27 10:36:30 -07:00
ext Bump webpack from 5.76.3 to 5.94.0 in /ext/vscode (#4261) 2024-08-29 09:15:06 -04:00
generators/repo Bump micromatch from 4.0.4 to 4.0.8 in /generators/repo (#4260) 2024-08-28 21:38:47 -07:00
schemas Updates schema to support single or multi hook configuration (#4265) 2024-09-05 15:26:39 -07:00
templates Updates AKS default version to 1.29 (#4279) 2024-08-30 14:52:58 -07:00
.gitattributes
.gitignore
.markdownlint.json
CONTRIBUTING.md
LICENSE
NOTICE.txt
README.md
SECURITY.md
SUPPORT.md
go.mod provisioning: Don't "import dot" the provisioning package (#4120) 2024-08-28 02:06:01 +00:00
go.sum provisioning: Don't "import dot" the provisioning package (#4120) 2024-08-28 02:06:01 +00:00
magefile.go

README.md

Azure Developer CLI

Latest builds:

Artifact Version Download
azd azd version Windows | Linux | Mac
vscode extension vscode extension version VSIX
docker image azd version mcr.microsoft.com/azure-dev-cli-apps:latest

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/Upgrade Azure Developer CLI

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.

Windows

Windows Package Manager (winget)

winget install microsoft.azd

Chocolatey

choco install azd

Install script

powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"

MacOS

Homebrew

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.

Linux

curl -fsSL https://aka.ms/install-azd.sh | bash

Set Up Shell Completion

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

Uninstall Azure Developer CLI

Windows

Uninstalling 0.5.0-beta.1 and later

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.

Uninstalling version 0.4.0-beta.1 and earlier

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"

Linux/MacOS

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.

Data Collection

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 Configuration

Telemetry collection is on by default.

To opt out, set the environment variable AZURE_DEV_COLLECT_TELEMETRY to no in your environment.

Contributing

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 opencode@microsoft.com with any additional questions or comments.

Trademark Notice

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 Microsofts 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-partys policies.

License - Azure Developer CLI Templates Trust Notice

Learn more about running third-party code on our DevHub