# Install flatbuffers with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget, zypper, chocolatey, scoop

Serialization library for C++, supporting Java, C#, and Go. Version 25.12.19 via Homebrew; verified 2026-05-09.

## Install

```sh
sudo av install brew:flatbuffers
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install flatbuffers
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install flatbuffers
```

  Evidence: MacPorts ports tree: devel/flatbuffers/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add flatbuffers
```

  Evidence: Alpine Linux edge package indexes: flatbuffers from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install flatbuffers-compiler
```

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

- dnf (92%):

```sh
sudo dnf install flatbuffers
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#flatbuffers
```

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

- pacman (92%):

```sh
sudo pacman -S flatbuffers
```

  Evidence: Arch Linux sync databases: flatbuffers from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install flatbuffers-devel
```

  Evidence: openSUSE Tumbleweed package metadata: flatbuffers-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Google.flatbuffers -e
```

  Evidence: Windows Package Manager source index: Google.flatbuffers from https://cdn.winget.microsoft.com/cache/source.msix

- Chocolatey (92%):

```sh
choco install flatc
```

  Evidence: Chocolatey community package catalog: flatc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.2688','mpv.portable'

- Scoop (92%):

```sh
scoop install main/flatc
```

  Evidence: Scoop official bucket manifest trees: bucket/flatc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:flatbuffers
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/flatbuffers>
- **Version:** 25.12.19
- **Source summary:** Serialization library for C++, supporting Java, C#, and Go
- **Homepage:** <https://google.github.io/flatbuffers>
- **Repository:** <https://github.com/google/flatbuffers>
- **Upstream docs:** <https://flatbuffers.dev/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/google/flatbuffers/archive/refs/tags/v25.12.19.tar.gz>
- **Last updated:** 2026-05-09T00:35:44Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- flatc (cli)
- flatc (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 25.12.19
- Package-manager updated: 2026-05-09
- Local data: ok
- Upstream repository: https://github.com/google/flatbuffers
- Upstream latest detected: v25.12.19 (current)
## Project history and usage

FlatBuffers is Google's cross-platform serialization library designed for maximum memory efficiency. Its core promise is direct access to serialized data without a separate parsing or unpacking step while preserving forwards and backwards compatibility.

### Project history

The public repository began in January 2014, followed by a v1.0.0 tag in June 2014. The project centers on the flatc compiler, schemas, generated language code, and runtime libraries rather than a single runtime format implementation.

### Adoption history

FlatBuffers broadened from C++ into a multi-language serialization ecosystem. The official README lists code generation and runtime support for languages including C, C++, C#, Dart, Go, Java, JavaScript, Kotlin, Lua, PHP, Python, Rust, Swift, TypeScript, and others, with package surfaces on registries such as NuGet, pub.dev, go.dev, Maven, npm, PyPI, crates.io, and Swift Package Index.

### How it is used

The documented workflow is to write a .fbs schema, build or install flatc, generate language-specific code, serialize data with generated builders, and read buffers through generated accessors. The package manager executable flatc is therefore central to most FlatBuffers workflows.

### Why package nerds care

FlatBuffers is significant because one source package feeds many language package ecosystems. It combines a native compiler, schema files, generated code, and runtime libraries, and its README explicitly notes that the project uses date-style versioning rather than traditional SemVer.

### Timeline

- 2014: Initial public repository and FlatBuffers code commit.
- 2014: v1.0.0 release tag.
- 2021: v2.0.0 release tag.
- 2025: v25.2.10 release tag using the date-style versioning scheme.

### Related projects

- The official README points to language-specific FlatBuffers packages and ecosystems, while flatc is the compiler used to generate language bindings from schemas.

### Sources

- <https://flatbuffers.dev/>
- <https://formulae.brew.sh/formula/flatbuffers>
- <https://github.com/google/flatbuffers>
- <https://raw.githubusercontent.com/google/flatbuffers/master/README.md>


## Security Notes

No matching local secret-handling manifest was found for flatbuffers. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** flatbuffers
- **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

- Debian apt - flatbuffers-compiler - 23.5.26+dfsg-4: normalized package name match | Debian stable package indexes: flatbuffers-compiler from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | efficient cross platform serialization library - compiler | https://google.github.io/flatbuffers/
- Debian apt - flatbuffers-compiler-dev - 23.5.26+dfsg-4: normalized package name match | Debian stable package indexes: flatbuffers-compiler-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | efficient cross platform serialization library - cmake files | https://google.github.io/flatbuffers/
- Debian apt - libflatbuffers-dev - 23.5.26+dfsg-4: normalized package name match | Debian stable package indexes: libflatbuffers-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | efficient cross platform serialization library - development files | https://google.github.io/flatbuffers/
- Debian apt - libflatbuffers23.5.26 - 23.5.26+dfsg-4: normalized package name match | Debian stable package indexes: libflatbuffers23.5.26 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | efficient cross platform serialization library - shared library | https://google.github.io/flatbuffers/
- Debian apt - python3-flatbuffers - 23.5.26+dfsg-4: normalized package name match | Debian stable package indexes: python3-flatbuffers from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | efficient cross platform serialization library - Python bindings | https://google.github.io/flatbuffers/
- Nix - flatbuffers: normalized package name match | nixpkgs package indexes: pkgs/by-name/fl/flatbuffers/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - flatbuffers-compiler - 2.0.8+dfsg1-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: flatbuffers-compiler from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | efficient cross platform serialization library - compiler | https://google.github.io/flatbuffers/
- Ubuntu apt - flatbuffers-compiler-dev - 2.0.8+dfsg1-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: flatbuffers-compiler-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | efficient cross platform serialization library - cmake files | https://google.github.io/flatbuffers/
- Ubuntu apt - libflatbuffers-dev - 2.0.8+dfsg1-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libflatbuffers-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | efficient cross platform serialization library - development files | https://google.github.io/flatbuffers/
- Ubuntu apt - libflatbuffers2 - 2.0.8+dfsg1-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libflatbuffers2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | efficient cross platform serialization library - shared library | https://google.github.io/flatbuffers/
- Ubuntu apt - python3-flatbuffers - 2.0.8+dfsg1-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-flatbuffers from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | efficient cross platform serialization library - Python bindings | https://google.github.io/flatbuffers/
- apk - flatbuffers - 25.12.19-r1: normalized package name match | Alpine Linux edge package indexes: flatbuffers from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Memory Efficient Serialization Library | https://flatbuffers.dev/
- apk - flatbuffers-dev - 25.12.19-r1: normalized package name match | Alpine Linux edge package indexes: flatbuffers-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Memory Efficient Serialization Library (development files) | https://flatbuffers.dev/
- apk - flatc - 25.12.19-r1: normalized package name match | Alpine Linux edge package indexes: flatc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Memory Efficient Serialization Library (compiler) | https://flatbuffers.dev/
- apk - py3-flatbuffers - 25.12.19-r1: normalized package name match | Alpine Linux edge package indexes: py3-flatbuffers from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Memory Efficient Serialization Library (python bindings) | https://flatbuffers.dev/
- apk - py3-flatbuffers-pyc - 25.12.19-r1: normalized package name match | Alpine Linux edge package indexes: py3-flatbuffers-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for py3-flatbuffers | https://flatbuffers.dev/


## 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.
- [halide](https://www.automicvault.com/pkg/brew/halide/) - Popular package that depends on this formula.
- [protobuf-c](https://www.automicvault.com/pkg/brew/protobuf-c/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, library, serialization.
- [flatcc](https://www.automicvault.com/pkg/brew/flatcc/) - 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: cli, code-generation, developer-tools, serialization.
- [autogen](https://www.automicvault.com/pkg/brew/autogen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [capnp](https://www.automicvault.com/pkg/brew/capnp/) - Shares av.db curated category or tags: cli, developer-tools, serialization.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [cproto](https://www.automicvault.com/pkg/brew/cproto/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [sqlboiler](https://www.automicvault.com/pkg/brew/sqlboiler/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-generation, developer, developer-tools.

## Combined YAML source

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