Automic VaultAutomic Vault

brew

Install clang-uml with Homebrew, MacPorts, Nix, winget

Customizable automatic UML diagram generator for C++ based on Clang. Version 0.6.3 via Homebrew; verified 2026-07-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clang-uml

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install clang-uml

MacPorts ports tree · devel/clang-uml/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#clang-uml

nixpkgs package indexes · pkgs/by-name/cl/clang-uml/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id bkryza.clang-uml -e

Windows Package Manager source index · bkryza.clang-uml · source: cdn.winget.microsoft.com

overview

Package summary

Customizable automatic UML diagram generator for C++ based on Clang

Commands and aliases

  • clang-uml

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2021: GitHub repository created.
  • 2024: 0.5.x releases expanded the maintained release train.
  • 2025: 0.6.0, 0.6.1, and 0.6.2 releases published.
  • 2026: Homebrew formula metadata lists 0.6.2 as stable with bottles for macOS and Linux.

Related projects

  • clang-include-graph is a narrower sibling project by the same author focused on include relationships.
  • PlantUML, Mermaid, and GraphML are core output ecosystems for clang-uml, while Clang's JSON compilation database is the build-system interface.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.clang-uml

executables

Installed executables

CommandKindExposureNote
clang-umlcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.6.3
manager updated2026-07-06
local dataok
upstreamcurrent
latest detected0.6.3

https://github.com/bkryza/clang-uml

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:clang-uml
Version0.6.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clang-uml
Homepagehttps://github.com/bkryza/clang-uml
Repositoryhttps://github.com/bkryza/clang-uml
Upstream docshttps://clang-uml.github.io/
LicenseApache-2.0
Source archivehttps://github.com/bkryza/clang-uml/archive/refs/tags/0.6.3.tar.gz
Last updated2026-07-06T22:28:31Z
Pulseupdated
Dependenciesllvm, yaml-cpp
Build dependenciescmake, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

clang-uml

nix profile install nixpkgs#clang-uml
  • normalized package name match
  • Matched by: Clang Uml
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/clang-uml/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

clang-uml

sudo port install clang-uml
  • normalized package name match
  • Matched by: Clang Uml
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/clang-uml/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

bkryza.clang-uml

winget install --id bkryza.clang-uml -e
  • normalized package name match
  • Matched by: Clang Uml
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: bkryza.clang-uml from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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