Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, pacman 安装 mermaid-cli

查看 mermaid-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mermaid-cli

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#mermaid-cli

nixpkgs package indexes · pkgs/by-name/me/mermaid-cli/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mermaid-cli

Arch Linux sync databases · mermaid-cli · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

CLI for Mermaid library

命令和别名

  • mmdc

历史

项目历史与用法

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。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mmdccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本11.16.0
管理器更新时间2026-06-30
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖node
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemermaid-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

mermaid-cli

nix profile install nixpkgs#mermaid-cli
  • normalized package name match
  • 匹配方式:Mermaid Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/mermaid-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

mermaid-cli 11.15.0-1

Generate images from Mermaid files

https://github.com/mermaid-js/mermaid-cli

sudo pacman -S mermaid-cli
  • License: MIT
  • Architecture: any
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mermaid Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mermaid-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment