# Mermaid CLI — card for AI agents

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

Category: Charts and data visualisation · npm package `@mermaid-js/mermaid-cli` · latest version 12.0.0 (checked 2026-11-01)
Install: `npm install @mermaid-js/mermaid-cli`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 46.5 (#2268 of all tools, 46 of 94 in its category)
- Used in 8 public projects set up for AI coding agents (0.1%)
- Downloads last week: 832,578 (as of 2026-11-17), +22.6% over 4 weeks
- GitHub stars: 5,171 (as of 2026-11-17)
- Last push: 2026-11-16

## Often used with
Puppeteer 53.3%, TypeScript 80.0%, Zod 53.3%, Mermaid 26.7%, chokidar 26.7%, glob 26.7%

## Links
- AgentGid page: https://agentgid.com/tools/mermaid-js-mermaid-cli/
- Homepage: https://github.com/mermaid-js/mermaid-cli#readme
- Repository: https://github.com/mermaid-js/mermaid-cli

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
