mermaid-cli

Install command:
brew install mermaid-cli

CLI for Mermaid library

https://github.com/mermaid-js/mermaid-cli

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/mermaid-cli.json

Formula code: mermaid-cli.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 12.2.0

Depends on:

node 26.13.1 Open-source, cross-platform JavaScript runtime environment

Binaries: mmdc

GitHub Packages downloads:

Last 30 days16,741
Downloads128,066
Analytics install events (30 days)2,294
Downloads / install events (30 days)7.3×

Source: GitHub Packages, fetched 2026-11-14T00:24:32Z. Analytics dates: 2026-10-15 to 2026-11-14. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs2,2905,23014,742
Installs (--HEAD)4717
Installs on Request2,2875,22414,734
Installs on Request (--HEAD)4717
Build Errors0