# Install flatcc with Homebrew, Nix

FlatBuffers Compiler and Library in C for C. Version 0.6.3 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#flatcc.

## Install

```sh
sudo av install brew:flatcc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install flatcc
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#flatcc
```

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

## Package facts

- **Package key:** brew:flatcc
- **Package manager:** Homebrew
- **Version:** 0.6.3
- **Source summary:** FlatBuffers Compiler and Library in C for C
- **Homepage:** <https://github.com/dvidelabs/flatcc>
- **Repository:** <https://github.com/dvidelabs/flatcc>
- **Last updated:** 2026-07-29T12:03:27Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- flatcc (alias)

## Install behavior

- Bottle: not available

## Freshness

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

flatcc is a FlatBuffers compiler and runtime library written in C for C. Its README emphasizes minimal dependencies, generated C headers, a standalone flatcc executable, and runtime libraries for building, verifying, parsing, and printing FlatBuffers.

### Project history

The official git history starts with an initial public release v0.1.0 on 2015-11-09. The README explains that flatcc is implemented as a standalone tool rather than as an extension of Google's flatc so it can provide a pure portable C schema compiler and fail gracefully on abusive input in long-running processes.

### Adoption history

flatcc serves C projects that want FlatBuffers compatibility without pulling in a C++ compiler/runtime model. Its README describes CI-tested Ubuntu, macOS, and Windows support, user-reported portability, and a no-CMake integration path once the generator has produced headers.

### How it is used

Users build flatcc, run it against .fbs schema files, include generated headers, and link only the needed C runtime files. The README contrasts flatcc's runtime JSON handling with Google's flatc command-line JSON conversion, presenting the tools as complementary.

### Why package nerds care

flatcc is package-nerd significant because it is a compatibility-layer package: it tracks the FlatBuffers format while optimizing for C-only consumers, small binaries, generated headers, and vendorable runtime source files.

### Timeline

- 2015: Initial public release v0.1.0.
- 2016: v0.4.0 tag; README notes big-endian support as of release 0.4.0.
- 2022: v0.6.1 tag appears in the official git history.

### Related projects

- The README explicitly relates flatcc to Google FlatBuffers and the flatc compiler, while distinguishing flatcc as the FlatBuffers C Compiler.

### Sources

- <https://formulae.brew.sh/formula/flatcc>
- <https://github.com/dvidelabs/flatcc>
- <https://raw.githubusercontent.com/dvidelabs/flatcc/master/README.md>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Other Package-Manager Records

- Nix - flatcc: normalized package name match | nixpkgs package indexes: pkgs/by-name/fl/flatcc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/flatcc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/flatcc.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
