d2

Install command:
brew install d2

Modern diagram scripting language that turns text to diagrams

https://d2lang.com/

License: MPL-2.0

Development: Pull requests

Formula JSON API: /api/formula/d2.json

Formula code: d2.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.9.0
head ⚡️ HEAD

Depends on when building from source:

go 1.27.4 Open source programming language to build simple/reliable/efficient software

Binaries: d2

Analytics:

30 days90 days365 days
Installs1,1833,89511,552
Installs (--HEAD)21533
Installs on Request1,1823,88611,525
Installs on Request (--HEAD)21533
Build Errors1