# mermaid-cli mit Homebrew, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mermaid-cli in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:mermaid-cli
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install mermaid-cli
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mermaid-cli
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/me/mermaid-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mermaid-cli
```

  Evidenz: Arch Linux sync databases: mermaid-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Paketfakten

- **Paketschlüssel:** brew:mermaid-cli
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/mermaid-cli>
- **Version:** 11.16.0
- **Quellzusammenfassung:** CLI for Mermaid library
- **Homepage:** <https://github.com/mermaid-js/mermaid-cli>
- **Repository:** <https://github.com/mermaid-js/mermaid-cli>
- **Lizenz:** MIT
- **Quellarchiv:** <https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-11.16.0.tgz>
- **Zuletzt aktualisiert:** 2026-06-30T20:35:41Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- mmdc (cli)
- mmdc (Alias)

## Abhängigkeiten

- node

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 11.16.0
- Manager aktualisiert: 2026-06-30
- lokale Daten: OK
- Upstream-Repository: https://github.com/mermaid-js/mermaid-cli
- Info: No cached GitHub release or tag data was available.
## Projektgeschichte und Nutzung

mermaid-cli is the command-line front end for Mermaid, the text-to-diagram JavaScript library. The repository describes it as a CLI that takes a Mermaid definition file and produces SVG, PNG, or PDF output; the Mermaid documentation page for the CLI redirects readers to the separate `mermaid-js/mermaid-cli` project.

### Projektgeschichte

The practical interface is the `mmdc` command, used in documentation builds, CI pipelines, and local authoring workflows where diagrams must be rendered from `.mmd` source files without opening the Mermaid live editor. The package supports global npm installation, Docker-oriented usage, theming, transparent backgrounds, custom CSS injection, and file conversion workflows such as `mmdc -i input.mmd -o output.svg`.

### Wie es verwendet wird

For Homebrew, the package-manager niche is making Mermaid rendering available as a normal system CLI, alongside its npm package identity. It sits between documentation generators and browser automation: users write Mermaid syntax in source-controlled text files, then render stable image or document artifacts for READMEs, static sites, and release documentation.

### Quellen

- <https://formulae.brew.sh/formula/mermaid-cli>
- <https://github.com/mermaid-js/mermaid-cli>
- <https://github.com/mermaid-js/mermaid-cli/releases>
- <https://mermaid.js.org/config/mermaidCLI.html>


## Sicherheitshinweise

Für mermaid-cli wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mermaid-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Andere Paketmanager-Einträge

- Nix - mermaid-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/mermaid-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - mermaid-cli - 11.16.0-2: normalized package name match | Arch Linux sync databases: mermaid-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Generate images from Mermaid files | https://github.com/mermaid-js/mermaid-cli


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://pkg.so/de/brew/node/) - Runtime dependency declared by Homebrew.
- [dvisvgm](https://pkg.so/de/brew/dvisvgm/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, pdf, svg.
- [doxygen](https://pkg.so/de/brew/doxygen/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [docutils](https://pkg.so/de/brew/docutils/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [docbook-xsl](https://pkg.so/de/brew/docbook-xsl/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [asciidoc](https://pkg.so/de/brew/asciidoc/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [asciidoctor](https://pkg.so/de/brew/asciidoctor/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [mscgen](https://pkg.so/de/brew/mscgen/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, png, svg.
- [mdbook](https://pkg.so/de/brew/mdbook/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [action-docs](https://pkg.so/de/brew/action-docs/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, documentation, node.
- [terramaid](https://pkg.so/de/brew/terramaid/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, diagrams, documentation.
- [reveal-md](https://pkg.so/de/brew/reveal-md/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, documentation, node.

## Combined YAML source

View the package source record on GitHub. [combined/mermaid-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mermaid-cli.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
