# clang-include-graph を Homebrew でインストール

clang-include-graph のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:clang-include-graph
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/clang-include-graph>
- **バージョン:** 0.2.0
- **ソース概要:** Simple tool for visualizing and analyzing C/C++ project include graph
- **ホームページ:** <https://github.com/bkryza/clang-include-graph>
- **リポジトリ:** <https://github.com/bkryza/clang-include-graph>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/bkryza/clang-include-graph/archive/refs/tags/0.2.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- clang-include-graph (cli)
- clang-include-graph (エイリアス)

## 依存関係

- boost
- llvm

## ビルド依存関係

- cmake
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.2.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/bkryza/clang-include-graph
- 検出された最新: 0.2.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** clang-include-graph
- **Version Scheme:** 0
- **Revision:** 2
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [llvm](https://pkg.so/ja/brew/llvm/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [clang-uml](https://pkg.so/ja/brew/clang-uml/) - Shares pkgdb curated category or tags: clang, cli, code-analysis, cpp, developer-tools.
- [cloc](https://pkg.so/ja/brew/cloc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [scc](https://pkg.so/ja/brew/scc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [fallow](https://pkg.so/ja/brew/fallow/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [astgen](https://pkg.so/ja/brew/astgen/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [loc](https://pkg.so/ja/brew/loc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [cppinsights](https://pkg.so/ja/brew/cppinsights/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [pmccabe](https://pkg.so/ja/brew/pmccabe/) - Shares pkgdb curated category or tags: cli, code-analysis, cpp, developer-tools.
- [clang-build-analyzer](https://pkg.so/ja/brew/clang-build-analyzer/) - Package names and metadata indicate a similar tool family. Shared terms: analysis, clang, cli, cpp, developer.
- [emacs-clang-complete-async](https://pkg.so/ja/brew/emacs-clang-complete-async/) - Local package facts share a topical domain. Shared terms: clang, cli, code, cpp, developer.

## 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)


## ソース

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