Buck2
buck2.build
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What Buck2 is
Buck2 is a free build system from Meta for large-scale repositories that use multiple programming languages. It uses Starlark rules, a dynamic dependency graph, and incremental actions to support extensible builds. Its language table lists prelude rules for C/C++, Erlang, Go, Haskell, Java, Kotlin, OCaml, Python, and Rust, though usability varies by language. Build actions can run remotely through services that expose Bazel's remote execution API; listed compatible services include BuildBarn, BuildBuddy, EngFlow, and NativeLink. Buck2 supports filesystem watching and can integrate with Meta's optional Eden virtual filesystem. Rules are hermetic by default, and missing dependencies are errors, but local-only build steps are not sandboxed. The project describes Buck2 as early-stage and warns that outside users may encounter rough edges, missing features, or missing toolchains. There is no stable release tag, and the latest binary tag changes with repository pushes. Source and binaries are available under MIT and Apache-2.0 licenses; the project points users to GitHub for issues and Discord for community support.
Who it suits
Buck2 is designed for teams working with large, multi-language repositories and composing targets across languages in one build. It may suit users prepared for an early-stage project and language support that varies by language.
Good to know, and what to watch
- Free, with source and binaries under two licenses.
- Supports multiple languages in a single build.
- Remote execution works through the Bazel API.
- Missing dependencies are treated as errors.
- The project describes Buck2 as early-stage.
- There is no stable release tag.
- Outside users may encounter missing features or toolchains.
- Local-only build steps are not sandboxed.
Plans
Every plan and priceOpen source
Free plan
The verdict
Buck2 offers build infrastructure for large repositories with multi-language and remote-execution support. Its early-stage status and lack of a stable release tag are important considerations for teams evaluating it.
What the maker publishes
- Audience
- Buck2 is designed for large-scale, multi-language repositories and supports composing targets across languages in one build. source
- Features
- Buck2 uses Starlark rules, a dynamic dependency graph, and incremental actions to support extensible builds. source
- Integrations
- The project says BuildBarn, BuildBuddy, EngFlow, and NativeLink work with its distributed compilation support through the Bazel Remote Execution API. source
- Languages
- The language support table lists C/C++, Erlang, Go, Haskell, Java, Kotlin, OCaml, Python, and Rust with available prelude rules; support usability varies by language. source
- Large repositories
- Buck2 supports filesystem watching and can integrate with Meta's Eden virtual filesystem, though Eden is optional. source
- Maker
- Buck2 is a build system from Meta and the repository says it was designed by Meta. source
- Maturity
- The project describes Buck2 as early-stage and warns that outside users may encounter rough edges, missing features, and missing toolchains. source
- Platforms
- The installation guide documents building from source on Linux, macOS, and Windows, and notes prebuilt protoc support on those systems. source
- Purpose
- Buck2 is a large-scale, fast, hermetic, multi-language build system and the successor to Buck. source
- Release status
- The repository says Buck2 does not yet have a stable release tag and that its latest binary tag updates on every repository push. source
- Remote execution
- Buck2 can use services that expose Bazel's remote execution API to run build actions remotely. source
- Security and correctness
- Buck2 rules are hermetic by default and missing dependencies are errors; local-only build steps are not sandboxed, while remote execution is hermetic by design. source
- Support
- The project directs users to report issues through GitHub and provides a community Discord server. source
Checked against the maker's pages on 30 Sept 2026.