macOS
brew install mermaid-clilocal Homebrew formula metadata
brew
CLI for Mermaid library. Version 11.16.0 via Homebrew; verified 2026-06-30.
install
brew install mermaid-clilocal Homebrew formula metadata
nix profile install nixpkgs#mermaid-clinixpkgs package indexes · pkgs/by-name/me/mermaid-cli/package.nix · source: api.github.com
sudo pacman -S mermaid-cliArch Linux sync databases · mermaid-cli · source: geo.mirror.pkgbuild.com
overview
CLI for Mermaid library
history
mermaid-cli is the command-line front end for Mermaid, the text-to-diagram JavaScript library. The repository describes it as a CLI that takes a Mermaid definition file and produces SVG, PNG, or PDF output; the Mermaid documentation page for the CLI redirects readers to the separate `mermaid-js/mermaid-cli` project.
The practical interface is the `mmdc` command, used in documentation builds, CI pipelines, and local authoring workflows where diagrams must be rendered from `.mmd` source files without opening the Mermaid live editor. The package supports global npm installation, Docker-oriented usage, theming, transparent backgrounds, custom CSS injection, and file conversion workflows such as `mmdc -i input.mmd -o output.svg`.
For Homebrew, the package-manager niche is making Mermaid rendering available as a normal system CLI, alongside its npm package identity. It sits between documentation generators and browser automation: users write Mermaid syntax in source-controlled text files, then render stable image or document artifacts for READMEs, static sites, and release documentation.
security posture
No matching local secret-handling manifest was found for mermaid-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mmdc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/mermaid-js/mermaid-cli
install metadata
| Package key | brew:mermaid-cli |
|---|---|
| Version | 11.16.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mermaid-cli |
| Homepage | https://github.com/mermaid-js/mermaid-cli |
| Repository | https://github.com/mermaid-js/mermaid-cli |
| Upstream docs | https://github.com/mermaid-js/mermaid-cli#readme |
| License | MIT |
| Source archive | https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-11.16.0.tgz |
| Last updated | 2026-06-30T20:35:41Z |
| Pulse | updated |
| Dependencies | node |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mermaid-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mermaid-cli
nix profile install nixpkgs#mermaid-climermaid-cli 11.15.0-1
Generate images from Mermaid files
https://github.com/mermaid-js/mermaid-cli
sudo pacman -S mermaid-clisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.