Automic VaultAutomic Vault

brew

Install mermaid-cli with Homebrew, Nix, pacman

CLI for Mermaid library. Version 11.16.0 via Homebrew; verified 2026-06-30.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mermaid-cli

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#mermaid-cli

nixpkgs package indexes · pkgs/by-name/me/mermaid-cli/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S mermaid-cli

Arch Linux sync databases · mermaid-cli · source: geo.mirror.pkgbuild.com

overview

Package summary

CLI for Mermaid library

Commands and aliases

  • mmdc

history

Project history and usage

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.

Project history

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

How it is used

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 protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mmdccliglobal executable

freshness

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

page generated2026-07-08
manager version11.16.0
manager updated2026-06-30
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:mermaid-cli
Version11.16.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mermaid-cli
Homepagehttps://github.com/mermaid-js/mermaid-cli
Repositoryhttps://github.com/mermaid-js/mermaid-cli
Upstream docshttps://github.com/mermaid-js/mermaid-cli#readme
LicenseMIT
Source archivehttps://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-11.16.0.tgz
Last updated2026-06-30T20:35:41Z
Pulseupdated
Dependenciesnode
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemermaid-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

mermaid-cli

nix profile install nixpkgs#mermaid-cli
  • normalized package name match
  • Matched by: Mermaid Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/mermaid-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

mermaid-cli 11.15.0-1

Generate images from Mermaid files

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

sudo pacman -S mermaid-cli
  • License: MIT
  • Architecture: any
  • 2 dependencies
  • normalized package name match
  • Matched by: Mermaid Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mermaid-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment