{
 "kind": "tool",
 "slug": "mermaid-js-mermaid-cli",
 "path": "tools/mermaid-js-mermaid-cli/",
 "name": "Mermaid CLI",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Charts and data visualisation",
   "tools/charts/"
  ]
 ],
 "lead": "Renders Mermaid diagrams to SVG, PNG or PDF from the command line.",
 "chips": [
  {
   "label": "Charts and data visualisation",
   "path": "tools/charts/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @mermaid-js/mermaid-cli"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/mermaid-js/mermaid-cli"
  },
  {
   "label": "Website",
   "href": "https://github.com/mermaid-js/mermaid-cli#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/mermaid-js/mermaid-cli"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 16, 2026",
   "note": "Latest GitHub release Nov 2, 2026. ",
   "src": "https://github.com/mermaid-js/mermaid-cli"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "8 projects",
   "status": "info",
   "sub": "#25 of 94 in its category",
   "note": "Dependency in 8 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Mermaid CLI does",
   "parts": [
    {
     "t": "prose",
     "text": "Renders Mermaid diagrams to SVG, PNG or PDF from the command line."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Mermaid CLI popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "46",
       "of": "/ 100",
       "l": "Gid Score, #2268 overall"
      },
      {
       "n": "833K",
       "l": "downloads a week, npm"
      },
      {
       "n": "5,171",
       "l": "GitHub stars"
      },
      {
       "n": "8",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Mermaid CLI is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "6 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 53.3% of its projects",
       "v": "Puppeteer",
       "path": "tools/puppeteer/"
      },
      {
       "l": "In 80.0% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 53.3% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 26.7% of its projects",
       "v": "Mermaid",
       "path": "tools/mermaid/"
      },
      {
       "l": "In 26.7% of its projects",
       "v": "chokidar",
       "path": "tools/chokidar/"
      },
      {
       "l": "In 26.7% of its projects",
       "v": "glob",
       "path": "tools/glob/"
      },
      {
       "l": "In 26.7% of its projects",
       "v": "gray-matter",
       "path": "tools/gray-matter/"
      },
      {
       "l": "In 26.7% of its projects",
       "v": "Marked",
       "path": "tools/marked/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Mermaid CLI",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Charts and data visualisation",
       "path": "tools/charts/",
       "items": [
        {
         "text": "Recharts",
         "path": "tools/recharts/"
        },
        {
         "text": "Matplotlib",
         "path": "tools/matplotlib/"
        },
        {
         "text": "Chart.js",
         "path": "tools/chart-js/"
        },
        {
         "text": "Mermaid",
         "path": "tools/mermaid/"
        },
        {
         "text": "Seaborn",
         "path": "tools/seaborn/"
        },
        {
         "text": "XY Flow",
         "path": "tools/xyflow/"
        },
        {
         "text": "Plotly",
         "path": "tools/plotly/"
        },
        {
         "text": "React Chart.js 2",
         "path": "tools/react-chartjs-2/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Mermaid CLI",
       "me": true,
       "facts": [
        "MIT",
        "Gid 46",
        "833K/wk"
       ]
      }
     ],
     "more": "Compare Mermaid CLI with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @mermaid-js/mermaid-cli"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Mermaid CLI yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @mermaid-js/mermaid-cli"
  ],
  [
   "Category",
   "Charts and data visualisation"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "46.5"
  ],
  [
   "Rank in category",
   "#25 of 94"
  ],
  [
   "GitHub",
   "mermaid-js/mermaid-cli"
  ],
  [
   "Last change",
   "Nov 16, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/mermaid-js.png"
}