# 使用 Homebrew, chocolatey, scoop, winget 安装 azure-dev

查看 azure-dev 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:azure-dev
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install azure-dev
```

  证据: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

```sh
choco install azd
```

  证据: Chocolatey community package catalog: azd from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','autodesk-fusion360'

- Scoop (92%):

```sh
scoop install extras/azd
```

  证据: Scoop official bucket manifest trees: bucket/azd.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Microsoft.Azd -e
```

  证据: Windows Package Manager source index: Microsoft.Azd from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:azure-dev
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/azure-dev>
- **版本:** 1.27.0
- **来源摘要:** Developer CLI that provides commands for working with Azure resources
- **主页:** <https://aka.ms/azd>
- **仓库:** <https://github.com/Azure/azure-dev>
- **上游文档:** <https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli>
- **许可证:** MIT
- **源码归档:** <https://github.com/Azure/azure-dev/archive/refs/tags/azure-dev-cli_1.27.0.tar.gz>
- **最后更新:** 2026-06-30T23:54:07Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- azd (cli)
- azd (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.27.0
- 管理器更新时间: 2026-06-30
- 本地数据: OK
- 上游仓库: https://github.com/Azure/azure-dev
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Azure Developer CLI, invoked as `azd`, is Microsoft's project-oriented Azure application CLI. Where `az` manages Azure resources directly, `azd` packages repeatable app workflows such as init, provision, deploy, pipeline setup, and environment management around `azure.yaml` templates.

### 项目历史

The Azure/azure-dev repository's public release stream starts with `azure-dev-cli_0.1.0-beta.1` in July 2022. Its README describes a developer-centric CLI meant to take code to cloud quickly, with recommended Azure practices and template-driven workflows built in.

The tool grew around the `azure.yaml` project file and per-environment `.azure/<environment-name>/.env` files. Microsoft Learn documents `azure.yaml` as the configuration file for azd projects and explains that environment variables are stored in environment-specific `.env` files under `.azure`.

### 采用历史

`azd` adoption is tied to Azure sample templates, app modernization demos, and teams that want fewer hand-written provisioning commands. The input package facts list Homebrew, Chocolatey, Scoop, and winget packages, showing the tool is aimed at developer workstations as much as CI.

Because `azd` is newer than Azure CLI, package-manager adoption is narrower, but the command is important in Azure docs and samples where a repository can become deployable with `azd init` and `azd up`.

### 使用方式

Common commands are `azd init`, `azd up`, `azd provision`, `azd deploy`, and `azd env set`. The official schema docs describe `azure.yaml` as the file that tells the CLI about services, infrastructure, resources, hooks, and deployment behavior.

`azd` does not document a separate long-lived credential file for the CLI itself; it leans on Azure authentication flows and stores project/environment configuration in the project tree.

### 为什么软件包爱好者会关心

For package nerds, `azure-dev` is interesting because the Homebrew formula name differs from the command name `azd`, and Microsoft's README now points macOS users at a trusted Azure tap/cask flow while package-manager metadata also records community-distribution paths.

It is also a good example of a cloud CLI whose real payload is conventions: the executable is small compared with the project template ecosystem, generated environment files, and CI/CD hooks it orchestrates.

### 时间线

- 2022: The Azure/azure-dev release stream begins with `azure-dev-cli_0.1.0-beta.1`.
- 2020s: Microsoft Learn documents `azure.yaml` and azd environments as the durable project configuration model.
- 2020s: Packages appear for Homebrew, Chocolatey, Scoop, and winget.

### Related projects

- Azure CLI (`az`) remains the lower-level Azure resource-management CLI.
- Bicep and Terraform are supported infrastructure providers in `azure.yaml`.
- Azure sample template repositories provide many of the practical starting points for `azd`.

### 来源

- Azure/azure-dev README and GitHub Releases
- Microsoft Learn Azure Developer CLI docs
- source_facts.package-manager


## 安全说明

没有找到 azure-dev 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: azure.yaml, .azure/<environment-name>/.env
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** azure-dev
- **Aliases:** azd
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Chocolatey - azd: installed executable or alias match | Chocolatey community package catalog: azd from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','autodesk-fusion360'
- Scoop - extras/azd: installed executable or alias match | Scoop official bucket manifest trees: bucket/azd.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - Microsoft.Azd: installed executable or alias match | Windows Package Manager source index: Microsoft.Azd from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [azcopy](https://www.automicvault.com/zh-hans/pkg/brew/azcopy/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [azqr](https://www.automicvault.com/zh-hans/pkg/brew/azqr/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [aztfexport](https://www.automicvault.com/zh-hans/pkg/brew/aztfexport/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [azure-cli](https://www.automicvault.com/zh-hans/pkg/brew/azure-cli/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [azurite](https://www.automicvault.com/zh-hans/pkg/brew/azurite/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [static-web-apps-cli](https://www.automicvault.com/zh-hans/pkg/brew/static-web-apps-cli/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [terracognita](https://www.automicvault.com/zh-hans/pkg/brew/terracognita/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [actions-batch](https://www.automicvault.com/zh-hans/pkg/brew/actions-batch/) - Shares av.db curated category or tags: cli, cloud-infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/azure-dev.yml](https://github.com/automic-vault/db/blob/main/combined/azure-dev.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
