macOS
brew install mermaid-clilocal Homebrew formula metadata
安装
brew install mermaid-clilocal Homebrew formula metadata
nix profile install nixpkgs#mermaid-clinixpkgs package indexes · pkgs/by-name/me/mermaid-cli/package.nix · 来源: api.github.com
sudo pacman -S mermaid-cliArch Linux sync databases · mermaid-cli · 来源: geo.mirror.pkgbuild.com
概览
CLI for Mermaid library
历史
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.
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`.
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.
安全态势
没有找到 mermaid-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mmdc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/mermaid-js/mermaid-cli
安装元数据
| 软件包键 | brew:mermaid-cli |
|---|---|
| 版本 | 11.16.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mermaid-cli |
| 主页 | https://github.com/mermaid-js/mermaid-cli |
| 仓库 | https://github.com/mermaid-js/mermaid-cli |
| 上游文档 | https://github.com/mermaid-js/mermaid-cli#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-11.16.0.tgz |
| 最后更新 | 2026-06-30T20:35:41Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mermaid-cli
nix profile install nixpkgs#mermaid-climermaid-cli 11.15.0-1
Generate images from Mermaid files
https://github.com/mermaid-js/mermaid-cli
sudo pacman -S mermaid-cli来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.