# Install diagram with Homebrew

CLI app to convert ASCII arts into hand drawn diagrams. Version 1.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:diagram
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install diagram
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:diagram
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/diagram>
- **Version:** 1.1.0
- **Source summary:** CLI app to convert ASCII arts into hand drawn diagrams
- **Homepage:** <https://github.com/esimov/diagram>
- **Repository:** <https://github.com/esimov/diagram>
- **Upstream docs:** <https://github.com/esimov/diagram#readme>
- **License:** MIT
- **Source archive:** <https://github.com/esimov/diagram/archive/refs/tags/v1.1.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- diagram (cli)
- diagram (alias)

## Build dependencies

- go
- pkgconf

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.0
- Local data: ok
- Upstream repository: https://github.com/esimov/diagram
- Upstream latest detected: v1.1.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Diagram is a Go command-line application for turning ASCII-art sketches into hand-drawn PNG diagrams. Its niche is the overlap between terminal diagramming, rough sketch aesthetics, and quick documentation assets.

### Project history

The public GitHub repository was created in 2017, matching the README copyright year. The README describes Diagram as a full CLI application with an editor, preview window, zooming and panning, file management, and direct command-line conversion from input text to output PNG.

### Adoption history

Diagram is packaged for Homebrew and advertised from its own README with a `brew install diagram` path, which puts it in the small family of diagramming tools installable as normal Unix command-line utilities rather than desktop drawing applications.

### How it is used

Package users typically feed an ASCII diagram to `diagram -in sample.txt -out sample.png`, optionally disabling preview or selecting a handwriting font. That makes it useful for quick README illustrations, sketches, and local documentation workflows.

### Why package nerds care

For package collectors, Diagram is interesting because it packages a visual, GUI-adjacent workflow as a single CLI: text in, generated image out, with a terminal UI available when interactive editing is wanted.

### Timeline

- 2017: GitHub repository created and README copyright year.
- 2025: v1.1.0 release published on GitHub.

### Related projects

- The README says its ASCII-to-PNG conversion was ported from `shaky.dart`, and lists Go UI/graphics dependencies including gocui, gg, and gioui.

### Sources

- <https://github.com/esimov/diagram>
- <https://raw.githubusercontent.com/esimov/diagram/master/README.md>
- <https://api.github.com/repos/esimov/diagram>
- <https://github.com/esimov/diagram/releases/tag/v1.1.0>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [clang-uml](https://www.automicvault.com/pkg/brew/clang-uml/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [ditaa](https://www.automicvault.com/pkg/brew/ditaa/) - Shares av.db curated category or tags: ascii-art, cli, developer-tools, diagramming.
- [dpic](https://www.automicvault.com/pkg/brew/dpic/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [likec4](https://www.automicvault.com/pkg/brew/likec4/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [msc-generator](https://www.automicvault.com/pkg/brew/msc-generator/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [sdedit](https://www.automicvault.com/pkg/brew/sdedit/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [svgbob](https://www.automicvault.com/pkg/brew/svgbob/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [umlet](https://www.automicvault.com/pkg/brew/umlet/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [eralchemy](https://www.automicvault.com/pkg/brew/eralchemy/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, diagram, diagramming.
- [graphviz2drawio](https://www.automicvault.com/pkg/brew/graphviz2drawio/) - Local package facts share a topical domain. Shared terms: cli, convert, developer, developer-tools, diagram.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
