# 使用 Homebrew, scoop 安装 draft

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

## 安装

```sh
sudo av install brew:draft
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install draft
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/draft
```

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

## 软件包事实

- **软件包键:** brew:draft
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/draft>
- **版本:** 0.17.15
- **来源摘要:** Day 0 tool for getting your app on Kubernetes fast
- **主页:** <https://github.com/Azure/draft>
- **仓库:** <https://github.com/Azure/draft>
- **上游文档:** <https://github.com/Azure/draft>
- **许可证:** MIT
- **源码归档:** <https://github.com/Azure/draft/archive/refs/tags/v0.17.15.tar.gz>
- **最后更新:** 2026-06-17T18:34:05Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- draft (cli)
- draft (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.17.15
- 管理器更新时间: 2026-06-17
- 本地数据: OK
- 上游仓库: https://github.com/Azure/draft
- 检测到的最新版本: v0.17.15 (当前)
## 项目历史与用法

Draft is an Azure-maintained command-line tool for generating the first Docker, Kubernetes, Helm, Kustomize, and GitHub Actions artifacts needed to get an application running on Kubernetes.

### 项目历史

The current Azure/draft repository was created in November 2021. Its README describes Draft as a developer onboarding tool for Kubernetes, replacing a blank project directory with generated Dockerfiles, manifests, Helm charts, Kustomize configuration, and workflow files.

### 采用历史

Draft's distribution through Homebrew and Scoop fits its target audience: developers setting up local Kubernetes or AKS workflows from a terminal. Microsoft Learn documents it as a Draft extension for Azure Kubernetes Service in preview, tying the CLI to AKS developer workflows.

### 使用方式

Users run draft create to generate deployment files, draft generate-workflow to create GitHub Actions deployment workflows, draft setup-gh for GitHub OIDC setup with Azure, and draft validate to check manifests against AKS deployment safeguards.

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

Draft is significant as a package because it packages cloud onboarding knowledge into a CLI generator: language detection, Kubernetes manifest shapes, Helm/Kustomize choices, GitHub Actions, and AKS policy checks become reproducible local artifacts.

### 时间线

- 2021: Azure/draft was created on GitHub.
- 2023: Microsoft Learn documentation for the AKS Draft extension carried a June 2023 document date.
- 2025-2026: the project published frequent v0.17.x releases, indicating continued maintenance.

### Related projects

- Azure Kubernetes Service
- Kubernetes
- Helm
- Kustomize
- GitHub Actions
- kubectl

### 来源

- <https://github.com/Azure/draft>
- <https://raw.githubusercontent.com/Azure/draft/main/README.md>
- <https://learn.microsoft.com/en-us/azure/aks/draft>
- <https://api.github.com/repos/Azure/draft>
- <https://api.github.com/repos/Azure/draft/releases?per_page=8>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** draft
- **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

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

- Scoop - main/draft: normalized package name match | Scoop official bucket manifest trees: bucket/draft.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [chaoskube](https://www.automicvault.com/zh-hans/pkg/brew/chaoskube/) - Shares av.db curated category or tags: cli, cloud-infrastructure, helm, kubernetes.
- [cozyhr](https://www.automicvault.com/zh-hans/pkg/brew/cozyhr/) - Shares av.db curated category or tags: cli, cloud-infrastructure, helm, kubernetes.
- [devspace](https://www.automicvault.com/zh-hans/pkg/brew/devspace/) - Shares av.db curated category or tags: cli, cloud-infrastructure, docker, kubernetes.
- [k3d](https://www.automicvault.com/zh-hans/pkg/brew/k3d/) - Shares av.db curated category or tags: cli, cloud-infrastructure, docker, kubernetes.
- [ktmpl](https://www.automicvault.com/zh-hans/pkg/brew/ktmpl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, manifests.
- [nelm](https://www.automicvault.com/zh-hans/pkg/brew/nelm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, helm, kubernetes.
- [nova-fairwinds](https://www.automicvault.com/zh-hans/pkg/brew/nova-fairwinds/) - Shares av.db curated category or tags: cli, cloud-infrastructure, helm, kubernetes.
- [pluto](https://www.automicvault.com/zh-hans/pkg/brew/pluto/) - Shares av.db curated category or tags: cli, cloud-infrastructure, helm, kubernetes.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
