# Install fbthrift with Homebrew, MacPorts, Nix

Facebook's branch of Apache Thrift, including a new C++ server. Version 2026.07.06.00 via Homebrew; verified 2026-07-07.

## Install

```sh
sudo av install brew:fbthrift
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fbthrift
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fbthrift
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fbthrift
```

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

## Package facts

- **Package key:** brew:fbthrift
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/fbthrift>
- **Version:** 2026.07.06.00
- **Source summary:** Facebook's branch of Apache Thrift, including a new C++ server
- **Homepage:** <https://github.com/facebook/fbthrift>
- **Repository:** <https://github.com/facebook/fbthrift>
- **Upstream docs:** <https://github.com/facebook/fbthrift#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/facebook/fbthrift/archive/refs/tags/v2026.07.06.00.tar.gz>
- **Last updated:** 2026-07-07T21:44:33Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- thrift1 (cli)
- thrift1 (alias)

## Dependencies

- double-conversion
- fizz
- fmt
- folly
- gflags
- glog
- openssl@3
- wangle
- xxhash

## Build dependencies

- bison
- cmake
- mvfst
- zstd

## 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: 2026.07.06.00
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/facebook/fbthrift
- info: No cached GitHub release or tag data was available.
## Project history and usage

Facebook Thrift, usually packaged as fbthrift, is Meta's open-source branch of Thrift: a serialization, code-generation, and RPC framework for service communication. The project matters to package users because it ships the `thrift1` compiler and C++/Python-oriented runtime pieces used to generate service types, clients, and servers from `.thrift` interface files.

The project is significant because it is not just a repackaged Apache Thrift release. The README describes it as an evolved internal Facebook branch that was re-released to the open-source community in February 2014, with a rewritten compiler and a fully asynchronous Thrift server.

### Project history

Thrift began as the cross-language service framework associated with Facebook and Apache Thrift. Apache Thrift's own site describes the framework as combining a software stack with a code-generation engine for scalable cross-language services development.

Facebook maintained an internal branch for production service communication, then publicly re-released that branch as fbthrift in 2014. The public repository was created in 2013, and the project README states that the open-source release initially tracked Apache Thrift closely before diverging in new directions.

### Adoption history

The strongest adoption signal is internal: the fbthrift README says most Facebook services use Thrift for RPC, and some storage systems use Thrift for serializing records on disk.

Outside Meta, fbthrift is mostly adopted by developers who specifically need Meta's C++ Thrift stack rather than the Apache distribution. Package managers expose it as a compiler/runtime toolchain, with Homebrew's formula providing the `thrift1` executable.

### How it is used

Users write `.thrift` files to define serializable types and service interfaces, then run the compiler to generate language-specific structures, clients, and server stubs. The README frames Thrift as a code generator, serialization framework, and RPC framework.

The package is most relevant for C++ service developers because fbthrift emphasizes cpp2 support, asynchronous servers, and integration with other Meta C++ infrastructure such as Folly.

### Why package nerds care

fbthrift is the package-manager face of Meta's Thrift branch: a heavy but important toolchain package for people who need compatibility with Facebook/Meta thrift definitions, C++ service infrastructure, or projects built against fbthrift rather than Apache Thrift.

It also illustrates a common packaging split: the upstream concept is Thrift, but the formula name distinguishes Meta's branch from the Apache implementation so both can exist in package ecosystems without pretending they are interchangeable.

### Timeline

- 2007: Apache Thrift material describes the cross-language service framework and compiler model.
- 2013: The public facebook/fbthrift GitHub repository was created.
- 2014: Facebook re-released its evolved internal Thrift branch to the open-source community.
- 2014 onward: fbthrift diverged from Apache Thrift with a rewritten compiler and asynchronous C++ server support.

### Related projects

- Apache Thrift is the upstream family and comparison point, while fbthrift is Meta's evolved branch.
- Folly, Fizz, Wangle, and other Meta C++ libraries appear in the fbthrift build dependency stack.

### Sources

- <https://github.com/facebook/fbthrift>
- <https://raw.githubusercontent.com/facebook/fbthrift/main/README.md>
- <https://engineering.fb.com/2014/02/20/open-source/under-the-hood-building-and-open-sourcing-fbthrift/>
- <https://thrift.apache.org/>


## Security Notes

No matching local secret-handling manifest was found for fbthrift. 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:** fbthrift
- **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 - fbthrift: normalized package name match | nixpkgs package indexes: pkgs/by-name/fb/fbthrift/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - fbthrift: normalized package name match | MacPorts ports tree: devel/fbthrift/Portfile from https://api.github.com/repos/macports/macports-ports/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.
- [gflags](https://www.automicvault.com/pkg/brew/gflags/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [bison](https://www.automicvault.com/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Build dependency declared by Homebrew.
- [watchman](https://www.automicvault.com/pkg/brew/watchman/) - Popular package that depends on this formula.
- [thrift](https://www.automicvault.com/pkg/brew/thrift/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, rpc, serialization.
- [protoc-gen-go-grpc](https://www.automicvault.com/pkg/brew/protoc-gen-go-grpc/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, rpc.
- [brpc](https://www.automicvault.com/pkg/brew/brpc/) - Shares av.db curated category or tags: cli, developer-tools, rpc.
- [grpc](https://www.automicvault.com/pkg/brew/grpc/) - Shares av.db curated category or tags: cli, developer-tools, rpc.
- [capnp](https://www.automicvault.com/pkg/brew/capnp/) - Shares av.db curated category or tags: cli, developer-tools, rpc, serialization.
- [flatbuffers](https://www.automicvault.com/pkg/brew/flatbuffers/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, serialization.
- [goctl](https://www.automicvault.com/pkg/brew/goctl/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, rpc.
- [gperf](https://www.automicvault.com/pkg/brew/gperf/) - Shares av.db curated category or tags: cli, code-generation, cpp, developer-tools.
- [cargo-generate](https://www.automicvault.com/pkg/brew/cargo-generate/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.
- [protobuf-c](https://www.automicvault.com/pkg/brew/protobuf-c/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.

## Combined YAML source

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