macOS
brew install clang-umllocal Homebrew formula metadata
sudo port install clang-umlMacPorts ports tree · devel/clang-uml/Portfile · 来源: api.github.com
安装
brew install clang-umllocal Homebrew formula metadata
sudo port install clang-umlMacPorts ports tree · devel/clang-uml/Portfile · 来源: api.github.com
nix profile install nixpkgs#clang-umlnixpkgs package indexes · pkgs/by-name/cl/clang-uml/package.nix · 来源: api.github.com
winget install --id bkryza.clang-uml -eWindows Package Manager source index · bkryza.clang-uml · 来源: cdn.winget.microsoft.com
概览
Customizable automatic UML diagram generator for C++ based on Clang
历史
clang-uml is a Clang-based automatic diagram generator for C, C++, and Objective-C codebases, using YAML configuration to produce class, sequence, package, and include diagrams.
The public repository was created in 2021. Its README describes the project as a way to keep diagrams up to date inside a codebase and to document legacy code from real source, with output support for PlantUML, Mermaid, GraphML, and JSON.
The release series has grown from 0.1.0 through 0.6.x, with the Homebrew stable version 0.6.2 using LLVM 21 and yaml-cpp. The documentation includes a dedicated configuration reference and quick-start workflow around a .clang-uml file.
Distribution broadened beyond source builds: the input metadata lists Homebrew, MacPorts, Nix, and winget packaging. Homebrew ships bottles for macOS and Linux and reported 615 installs over the prior 365 days for the formula.
A typical workflow is to run clang-uml --init, edit .clang-uml to point at a compile_commands.json database and diagram definitions, then generate PlantUML, Mermaid, GraphML, or JSON diagram output from selected source globs.
clang-uml matters to package nerds because it is a substantial LLVM consumer packaged as a cross-platform CLI: it exposes the friction points of compiler-version pinning, C++ dependency packaging, and diagram-tool integration in one formula.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./.clang-uml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clang-uml | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bkryza/clang-uml
安装元数据
| 软件包键 | brew:clang-uml |
|---|---|
| 版本 | 0.6.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/clang-uml |
| 主页 | https://github.com/bkryza/clang-uml |
| 仓库 | https://github.com/bkryza/clang-uml |
| 上游文档 | https://clang-uml.github.io/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/bkryza/clang-uml/archive/refs/tags/0.6.3.tar.gz |
| 最后更新 | 2026-07-06T22:28:31Z |
| Pulse | updated |
| 依赖 | llvm, yaml-cpp |
| 构建依赖 | cmake, pkgconf |
| 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 | clang-uml |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
clang-uml
nix profile install nixpkgs#clang-umlclang-uml
sudo port install clang-umlbkryza.clang-uml
winget install --id bkryza.clang-uml -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.