AptLynx

Command-line tool

bear

brew/bear

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Generate compilation database for clang tooling

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id the-sz.Bear -e

macOS

brew install bear

Linux

brew install bear

Generate `compile_commands.json` by running a build command

bear -- make

Generate compilation database with a custom output file name

bear --output path/to/compile_commands.json -- make

Append results to an existing `compile_commands.json` file

bear --append -- make

Browse

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents