# diagram を Homebrew でインストール

diagram のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install diagram
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:diagram
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.0
- **ソース概要:** CLI app to convert ASCII arts into hand drawn diagrams
- **ホームページ:** <https://github.com/esimov/diagram>
- **リポジトリ:** <https://github.com/esimov/diagram>
- **最終更新:** 2026-07-28T14:10:39+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- diagram (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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)


## ソース

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