Automic VaultAutomic Vault

brew

Install clang-include-graph with Homebrew

Simple tool for visualizing and analyzing C/C++ project include graph. Version 0.2.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clang-include-graph

local Homebrew formula metadata

overview

Package summary

Simple tool for visualizing and analyzing C/C++ project include graph

Commands and aliases

  • clang-include-graph

history

Project history and usage

clang-include-graph is a small Clang-based command-line tool for inspecting C and C++ include relationships and exporting those relationships as textual, JSON, Graphviz, GraphML, or PlantUML output.

Project history

The public GitHub repository was created in 2022 and the first GitHub release was tagged as 0.1.1 in July 2022. The README positions the project as a simple include-graph analyzer built around LLVM/Clang compilation database inputs.

The project stayed narrow by design: its documented feature set is include-tree printing, reverse trees, topological order, cycle listing, dependant lookup, and graph export rather than a broader static-analysis platform.

Adoption history

Homebrew packages clang-include-graph from GitHub release archives and ships bottles for macOS and Linux. Homebrew analytics showed 412 installs over the prior 365 days for the formula, indicating niche but real command-line distribution.

How it is used

The tool expects a compile_commands.json database or compile_flags.txt, then lets users select translation units and choose output formats such as JSON, Graphviz, GraphML, PlantUML, tree views, cycles, or dependency queries.

Why package nerds care

For package-manager users it is a compact example of a modern LLVM-dependent C++ analysis CLI: the formula tracks tagged GitHub tarballs, depends on boost and llvm, and exists primarily to make source-tree architecture inspection scriptable.

Timeline

  • 2022: GitHub repository created.
  • 2022: Initial GitHub release 0.1.1 published.
  • 2025: Release 0.2.0 published and packaged by Homebrew as the stable version.

Related projects

  • The project is closely related to clang-uml, another bkryza Clang-based diagramming tool, but clang-include-graph focuses only on include relationships.
  • It also relies on the Clang JSON compilation database convention used by CMake, Bear, and other C/C++ build tooling.

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.

executables

Installed executables

CommandKindExposureNote
clang-include-graphcliglobal 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.2.0
manager updated
local dataok
upstreamcurrent
latest detected0.2.0

https://github.com/bkryza/clang-include-graph

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:clang-include-graph
Version0.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clang-include-graph
Homepagehttps://github.com/bkryza/clang-include-graph
Repositoryhttps://github.com/bkryza/clang-include-graph
Upstream docshttps://github.com/bkryza/clang-include-graph#readme
LicenseApache-2.0
Source archivehttps://github.com/bkryza/clang-include-graph/archive/refs/tags/0.2.0.tar.gz
Dependenciesboost, llvm
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-include-graph
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

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 package history
  • package relationship graph
  • package version freshness
  • package-page enrichment