macOS
brew install clang-umllocal Homebrew formula metadata
sudo port install clang-umlMacPorts ports tree · devel/clang-uml/Portfile · source: api.github.com
brew
Customizable automatic UML diagram generator for C++ based on Clang. Version 0.6.3 via Homebrew; verified 2026-07-06.
install
brew install clang-umllocal Homebrew formula metadata
sudo port install clang-umlMacPorts ports tree · devel/clang-uml/Portfile · source: api.github.com
nix profile install nixpkgs#clang-umlnixpkgs package indexes · pkgs/by-name/cl/clang-uml/package.nix · source: api.github.com
winget install --id bkryza.clang-uml -eWindows Package Manager source index · bkryza.clang-uml · source: cdn.winget.microsoft.com
overview
Customizable automatic UML diagram generator for C++ based on Clang
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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-umlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
clang-uml | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/bkryza/clang-uml
install metadata
| Package key | brew:clang-uml |
|---|---|
| Version | 0.6.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/clang-uml |
| Homepage | https://github.com/bkryza/clang-uml |
| Repository | https://github.com/bkryza/clang-uml |
| Upstream docs | https://clang-uml.github.io/ |
| License | Apache-2.0 |
| Source archive | https://github.com/bkryza/clang-uml/archive/refs/tags/0.6.3.tar.gz |
| Last updated | 2026-07-06T22:28:31Z |
| Pulse | updated |
| Dependencies | llvm, yaml-cpp |
| Build dependencies | cmake, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
clang-uml
nix profile install nixpkgs#clang-umlclang-uml
sudo port install clang-umlbkryza.clang-uml
winget install --id bkryza.clang-uml -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.