# Installer clang-include-graph avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de clang-include-graph pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:clang-include-graph
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install clang-include-graph
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:clang-include-graph
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.2.0
- **Résumé source:** Simple tool for visualizing and analyzing C/C++ project include graph
- **Page d'accueil:** <https://github.com/bkryza/clang-include-graph>
- **Dépôt:** <https://github.com/bkryza/clang-include-graph>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- clang-include-graph (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.2.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://github.com/bkryza/clang-include-graph#readme>
- <https://api.github.com/repos/bkryza/clang-include-graph>
- <https://api.github.com/repos/bkryza/clang-include-graph/releases>
- <https://formulae.brew.sh/api/formula/clang-include-graph.json>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/clang-include-graph.yml](https://github.com/mxcl/pkgdb/blob/main/combined/clang-include-graph.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
