# Installer mermaid-cli avec Homebrew, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mermaid-cli pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:mermaid-cli
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/mermaid-cli>
- **Version:** 11.16.0
- **Résumé source:** CLI for Mermaid library
- **Page d'accueil:** <https://github.com/mermaid-js/mermaid-cli>
- **Dépôt:** <https://github.com/mermaid-js/mermaid-cli>
- **Licence:** MIT
- **Archive source:** <https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-11.16.0.tgz>
- **Dernière mise à jour:** 2026-06-30T20:35:41Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- mmdc (cli)
- mmdc (alias)

## Dépendances

- node

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 11.16.0
- gestionnaire mis à jour: 2026-06-30
- données locales: OK
- dépôt amont: https://github.com/mermaid-js/mermaid-cli
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

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.

### Historique du projet

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`.

### Modes d'utilisation

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.

### Sources

- <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>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour mermaid-cli. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.


## Détails de la base source

- **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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
