# Install flatcc with Homebrew, Nix

FlatBuffers Compiler and Library in C for C. Version 0.6.1 via Homebrew; verified from local package data.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/flatcc>
- **Version:** 0.6.1
- **Source summary:** FlatBuffers Compiler and Library in C for C
- **Homepage:** <https://github.com/dvidelabs/flatcc>
- **Repository:** <https://github.com/dvidelabs/flatcc>
- **Upstream docs:** <https://github.com/dvidelabs/flatcc#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/dvidelabs/flatcc/archive/refs/tags/v0.6.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- flatcc (cli)
- flatcc (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.6.1
- Local data: ok
- Upstream repository: https://github.com/dvidelabs/flatcc
- Upstream latest detected: v0.6.1 (current)
- info: No package-manager update timestamp was available.
## 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

## Source Database Details

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

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [planus](https://www.automicvault.com/pkg/brew/planus/) - Shares av.db curated category or tags: cli, compiler, developer-tools, flatbuffers, serialization.
- [protobuf-c](https://www.automicvault.com/pkg/brew/protobuf-c/) - Shares av.db curated category or tags: c, cli, developer-tools, library, serialization.
- [check](https://www.automicvault.com/pkg/brew/check/) - Shares av.db curated category or tags: c, cli, developer-tools, library.
- [flatbuffers](https://www.automicvault.com/pkg/brew/flatbuffers/) - Shares av.db curated category or tags: cli, developer-tools, library, serialization.
- [nanopb](https://www.automicvault.com/pkg/brew/nanopb/) - Shares av.db curated category or tags: c, cli, developer-tools, serialization.
- [capnp](https://www.automicvault.com/pkg/brew/capnp/) - Shares av.db curated category or tags: cli, developer-tools, serialization.
- [cdecl](https://www.automicvault.com/pkg/brew/cdecl/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [dhall-json](https://www.automicvault.com/pkg/brew/dhall-json/) - Shares av.db curated category or tags: cli, compiler, developer-tools, serialization.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
