# Install diagram with Homebrew

CLI app to convert ASCII arts into hand drawn diagrams. Version 1.1.0 via Homebrew; verified 2026-07-28.

## 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
- **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>
- **Last updated:** 2026-07-28T14:10:39+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- diagram (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.1.0
## 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


## Combined YAML source

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


## Sources

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