# mermaidjs/mermaid.cli

Development has been moved to https://github.com/mermaid-js/mermaid-cli

Repository: https://github.com/mermaidjs/mermaid.cli
Canonical: https://ross.abutalabs.com/products/mermaidcli
Language: JavaScript
License: MIT
License Family: permissive
Topics: mermaid
Archived: true
Last push: 2023-07-22T00:22:20+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3276, "days_push": 1139, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1089, forks 116 (observed 2026-08-28T04:03:32.644343+00:00)

## What it is
A command-line interface for rendering Mermaid diagram definition files into SVG, PNG, or PDF outputs. This repository is no longer actively developed; development has moved to mermaid-js/mermaid-cli and the @mermaid-js/mermaid-cli npm package.

## Use cases
- convert mermaid diagrams to svg from the command line
- render .mmd files to png images
- generate pdf diagrams from mermaid definitions
- batch render mermaid charts with custom themes and sizes
- automate diagram generation in build pipelines

## When to choose
- you need a scriptable way to render mermaid diagrams to svg, png, or pdf
- you want to generate diagrams as part of CI or documentation builds

## When to avoid
- starting a new project - use @mermaid-js/mermaid-cli instead, as this package is unmaintained and out-of-date
- you need the latest mermaid features or bug fixes

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: cli, documentation, image-processing
- domain: developer-tools, documentation
- platform: cli, cross-platform
- tags: mermaid, diagrams, svg, png, pdf, deprecated, moved-to-mermaid-cli, command-line, nodejs

## Member repositories
- mermaidjs/mermaid.cli (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.644343+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:18.731182+00:00, confidence not recorded.
  - readme: https://github.com/mermaidjs/mermaid.cli (fetched 2026-08-28T04:03:32.644343+00:00, sha 873d07a33c2c)
  - registry_npm: https://registry.npmjs.org/mermaid.cli (fetched 2026-08-29T12:51:35.566653+00:00, sha 0c0c657b90e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
