# Install compiledb with Homebrew

Generate a Clang compilation database for Make-based build systems. Version 0.10.7 via Homebrew; verified 2026-07-13.

## Install

```sh
sudo av install brew:compiledb
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install compiledb
```

  Evidence: provider-native install command

## Package facts

- **Package key:** brew:compiledb
- **Package manager:** Homebrew
- **Version:** 0.10.7
- **Source summary:** Generate a Clang compilation database for Make-based build systems
- **Homepage:** <https://github.com/nickdiego/compiledb>
- **Repository:** <https://github.com/nickdiego/compiledb>
- **Last updated:** 2026-07-13T10:21:17Z
- **Generated:** 2026-08-03T00:40:33+00:00

## Executables

- compiledb (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.10.7
## Project history and usage

compiledb is a Python CLI for generating Clang JSON compilation databases for GNU Make-based build systems.

### Project history

The official README says compiledb was written to index Android Open Source Project modules after the author found existing tools unsatisfactory. It reworked ideas from YCM-Generator and aimed to produce `compile_commands.json` quickly without always requiring a clean build, using Make dry-run and keep-going behavior to extract compile commands.

### Adoption history

PyPI records public compiledb releases starting in 2018. The Homebrew input records both Homebrew and Nix packaging, reflecting its role as a small command-line bridge between traditional Make projects and Clang-aware editor or language-server tooling.

### How it is used

compiledb can wrap `make`, parse build logs or stdin, and write Clang's `compile_commands.json` in arguments-list or command-string form. Its main audience is non-CMake projects that still want editor indexing, static analysis, or language-server support.

### Why package nerds care

The package is significant because `compile_commands.json` became a de facto interchange file for C and C++ tooling. compiledb gives Make-based projects a lightweight way to participate in that ecosystem without migrating their build system.

### Timeline

- 2018: PyPI records the first public compiledb release.
- 2025: PyPI and GitHub releases record 0.10.x releases.

### Related projects

- compiledb is related to Clang's JSON Compilation Database format, Bear, YCM-Generator, cquery, ccls, and editor tooling such as YouCompleteMe.

### Sources

- <https://github.com/nickdiego/compiledb>
- <https://raw.githubusercontent.com/nickdiego/compiledb/master/README.md>
- <https://pypi.org/pypi/compiledb/json>
- <https://clang.llvm.org/docs/JSONCompilationDatabase.html>


## Security Notes

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## Combined YAML source

View the package source record on GitHub. [combined/compiledb.yml](https://github.com/automic-vault/db/blob/main/combined/compiledb.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
