Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

Mermaid CLI

Renders Mermaid diagrams to SVG, PNG or PDF from the command line.

Charts and data visualisationNPM

GitHubWebsite

1. License

License from npm.

github.com/mermaid-js/mermaid-cli

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

46 / 100
Gid Score, #2268 overall
833K
downloads a week, npm
5,171
GitHub stars
8
agent projects use it
Mermaid CLI: downloads per weeknpm, @mermaid-js/mermaid-cli 832,578
Mermaid CLI: GitHub starsmermaid-js/mermaid-cli 5,171

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

6 projects, 0.2%
5 projects, 0.2%

Often used with

In 53.3% of its projects
In 80.0% of its projects
In 53.3% of its projects
In 26.7% of its projects
In 26.7% of its projects
In 26.7% of its projects
In 26.7% of its projects
In 26.7% of its projects

More about Mermaid CLI

More in Charts and data visualisation

Alternatives

Mermaid CLI This page

MITGid 46833K/wk

Compare Mermaid CLI with another tool

Get started

Install it.

npm install @mermaid-js/mermaid-cli

No step-by-step start for Mermaid CLI yet: we have not written its hand-checked card.