# Install awsdac with Homebrew

CLI tool for drawing AWS architecture. Version 0.23 via Homebrew; verified 2026-07-30.

## Install

```sh
sudo av install brew:awsdac
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install awsdac
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:awsdac
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/awsdac>
- **Version:** 0.23
- **Source summary:** CLI tool for drawing AWS architecture
- **Homepage:** <https://github.com/awslabs/diagram-as-code>
- **Repository:** <https://github.com/awslabs/diagram-as-code>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/awslabs/diagram-as-code/archive/refs/tags/v0.23.tar.gz>
- **Last updated:** 2026-07-30T12:47:52Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- awsdac (cli)
- awsdac-mcp-server (cli)
- awsdac (alias)
- awsdac-mcp-server (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.23
- Package-manager updated: 2026-07-30
- Local data: ok
- Upstream repository: https://github.com/awslabs/diagram-as-code
- Upstream latest detected: v0.23 (current)
## Project history and usage

awsdac is the command-line interface for AWS Labs' Diagram-as-code project, a YAML-driven tool for drawing AWS architecture diagrams without a browser or heavyweight image pipeline.

### Project history

The `awslabs/diagram-as-code` repository was created in February 2024 and began publishing 0.x releases almost immediately. Its README presents the project as a way to manage diagrams with Git, write human-readable YAML, and generate AWS architecture diagrams that follow AWS diagram guidelines.

The project later expanded beyond a single CLI into a Go library and `awsdac-mcp-server`, with documentation for CloudFormation conversion, templating, resource definitions, links, and AI assistant integration.

### Adoption history

awsdac's adoption is early but visible for a young AWS Labs tool: the repository is under the official `awslabs` organization, has Homebrew packaging, and has accumulated public GitHub attention since 2024. It fits the broader infrastructure-as-code habit of keeping generated artifacts and their source definitions in version control.

The tool targets teams that want architecture diagrams to live beside IaC and documentation, rather than in manually edited drawing files.

### How it is used

Users install with `go install github.com/awslabs/diagram-as-code/cmd/awsdac@latest` or `brew install awsdac`, then run `awsdac <input filename>` to render YAML into an output image. Flags cover output filenames, templates, CloudFormation conversion, and definition-file overrides.

Because it draws from declarative YAML rather than cloud credentials, no AWS credentials file is documented as required for normal diagram generation.

### Why package nerds care

awsdac is a package-manager-friendly example of documentation automation: one CLI turns versioned text into visual architecture diagrams. For package nerds, its appeal is that the rendering tool can be pinned in CI and used without a GUI, headless browser, or SaaS diagram editor.

Its presence in Homebrew also shows how AWS Labs experiments can move quickly into developer workstation tooling when they are delivered as a single Go CLI.

### Timeline

- 2024: Public GitHub repository `awslabs/diagram-as-code` created.
- 2024: v0.10 release published.
- 2024: v0.21.x releases expand the early 0.x line.
- 2026: v0.23 release published with additional diagram features.

### Related projects

- AWS Architecture Icons and guidelines provide the visual vocabulary referenced by the project.
- Infrastructure-as-code tools such as CloudFormation are adjacent inputs; the project documents beta CloudFormation conversion.
- MCP integrations are exposed by the `awsdac-mcp-server` executable.

### Sources

- <https://api.github.com/repos/awslabs/diagram-as-code>
- <https://api.github.com/repos/awslabs/diagram-as-code/releases?per_page=100>
- <https://github.com/awslabs/diagram-as-code>
- <https://github.com/awslabs/diagram-as-code/tree/main/doc>
- <https://raw.githubusercontent.com/awslabs/diagram-as-code/main/README.md>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

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


## Related links

- [Cloud CLI packages](https://pkg.so/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/brew/go/) - Build dependency declared by Homebrew.
- [iamy](https://pkg.so/brew/iamy/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, yaml.
- [cfn-flip](https://pkg.so/brew/cfn-flip/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, yaml.
- [awsweeper](https://pkg.so/brew/awsweeper/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, yaml.
- [awscli](https://pkg.so/brew/awscli/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [kustomize](https://pkg.so/brew/kustomize/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, yaml.
- [aws-sam-cli](https://pkg.so/brew/aws-sam-cli/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [cfn-lint](https://pkg.so/brew/cfn-lint/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [aws-iam-authenticator](https://pkg.so/brew/aws-iam-authenticator/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/awsdac.yml](https://github.com/mxcl/pkgdb/blob/main/combined/awsdac.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
