# Install cbmc with Homebrew, apt, dnf, Nix

C Bounded Model Checker. Version 6.10.0 via Homebrew; verified 2026-06-24. Also installable with debian: sudo apt install cbmc.

## Install

```sh
sudo av install brew:cbmc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cbmc
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install cbmc
```

  Evidence: Debian stable package indexes: cbmc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cbmc
```

  Evidence: Fedora Rawhide package metadata: cbmc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cbmc
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cb/cbmc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:cbmc
- **Package manager:** Homebrew
- **Version:** 6.10.0
- **Source summary:** C Bounded Model Checker
- **Homepage:** <https://www.cprover.org/cbmc/>
- **Repository:** <https://github.com/diffblue/cbmc>
- **Last updated:** 2026-06-24T16:07:58Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cbmc (alias)
- cprover (alias)
- crangler (alias)
- goto-analyzer (alias)
- goto-cc (alias)
- goto-diff (alias)
- goto-gcc (alias)
- goto-harness (alias)
- goto-inspect (alias)
- goto-instrument (alias)
- goto-ld (alias)
- goto-synthesizer (alias)
- janalyzer (alias)
- jbmc (alias)
- jdiff (alias)
- ls_parse.py (alias)
- symtab2gb (alias)

## Install behavior

- Bottle: not available

## Freshness

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

CBMC is the C Bounded Model Checker, a CProver formal-verification tool for checking C and C++ programs for memory safety, undefined behavior, assertions, and related properties.

### Project history

The CProver site presents CBMC as a bounded model checker for C and C++ and names Daniel Kroening as the contact. The current Diffblue GitHub repository was created in 2016 and remains the development repository for CBMC and related CProver tools.

### Adoption history

Official documentation notes availability for Linux, Windows, and macOS, including Debian/Ubuntu packages, release binaries, and Homebrew. The supplied package facts also show cbmc packaged by Homebrew, Debian, Ubuntu, Fedora, and Nix.

### How it is used

CBMC analyzes programs by unwinding loops and passing the resulting formula to a decision procedure. The tool suite includes `cbmc`, `goto-cc`, `goto-instrument`, `goto-analyzer`, `jbmc`, and related utilities for producing and analyzing goto programs.

### Why package nerds care

CBMC is a heavyweight developer-tools package because a single install exposes a mature formal-methods toolchain rather than just one binary. It is notable in package collections as a command-line verification suite that can slot into CI and compiler-like workflows.

### Timeline

- 2016: Current public GitHub repository created.
- 2025: CBMC 6.7 and 6.8 release series published on GitHub.
- 2026: CBMC 6.9 and 6.10 releases published on GitHub.

### Related projects

- The CProver tool family includes JBMC for Java bytecode, goto-analyzer, goto-cc/goto-gcc/goto-ld, goto-diff, goto-harness, goto-instrument, janalyzer, jdiff, and related solver utilities.

### Sources

- <https://api.github.com/repos/diffblue/cbmc>
- <https://github.com/diffblue/cbmc>
- <https://www.cprover.org/cbmc/>
- <https://www.cprover.org/cbmc/doc/manual.pdf>
- <https://diffblue.github.io/cbmc/cprover_documentation.html>
- <https://www.cprover.org/cbmc>
- <https://formulae.brew.sh/api/formula/cbmc.json>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - cbmc - 6.6.0-4: normalized package name match | Debian stable package indexes: cbmc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bounded model checker for C and C++ programs | http://www.cprover.org/cbmc/
- Debian apt - jbmc - 6.6.0-4: normalized package name match | Debian stable package indexes: jbmc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bounded model checker for Java programs | http://www.cprover.org/cbmc/
- Nix - cbmc: normalized package name match | nixpkgs package indexes: pkgs/by-name/cb/cbmc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cbmc - 5.95.1-4ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: cbmc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | bounded model checker for C and C++ programs | http://www.cprover.org/cbmc/
- Ubuntu apt - jbmc - 5.95.1-4ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: jbmc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | bounded model checker for Java programs | http://www.cprover.org/cbmc/
- dnf - cbmc - 6.10.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: cbmc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Bounded Model Checker for ANSI-C and C++ programs | https://www.cprover.org/cbmc
- dnf - cbmc-doc - 6.10.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: cbmc-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for cbmc | https://www.cprover.org/cbmc
- dnf - cbmc-utils - 6.10.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: cbmc-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Output conversion utilities for CBMC | https://www.cprover.org/cbmc


## Combined YAML source

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


## Sources

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