Mermaid CLI
Renders Mermaid diagrams to SVG, PNG or PDF from the command line.
3. Used by agents' projects
Dependency in 8 public GitHub projects set up for AI coding agents that we scanned (0.1%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Mermaid CLI does
Renders Mermaid diagrams to SVG, PNG or PDF from the command line.
Mermaid CLI popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Mermaid CLI is used
- Mermaid CLI joined the catalog on its public numbers (832,578 downloads a week on npm and 5,171 GitHub stars), not on our project count: it is a dependency in 15 public GitHub projects of our scan, 8 of them set up for AI coding agents.
- Projects that use it most often also use Puppeteer (53.3%), TypeScript (80.0%), Zod (53.3%).
By coding agent
Often used with
More about Mermaid CLI
More in Charts and data visualisation
Alternatives
Mermaid CLI This page
Get started
Install it.
npm install @mermaid-js/mermaid-cliNo step-by-step start for Mermaid CLI yet: we have not written its hand-checked card.