# Install buildkit with Homebrew, apk, Nix, pacman, scoop, zypper

Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit. Version 0.31.1 via Homebrew; verified 2026-06-24.

## Install

```sh
sudo av install brew:buildkit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install buildkit
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add buildctl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#buildkit
```

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

- pacman (92%):

```sh
sudo pacman -S buildkit
```

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

- zypper (92%):

```sh
sudo zypper install buildkit
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/buildkit
```

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

## Package facts

- **Package key:** brew:buildkit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/buildkit>
- **Version:** 0.31.1
- **Source summary:** Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
- **Homepage:** <https://github.com/moby/buildkit>
- **Repository:** <https://github.com/moby/buildkit>
- **Upstream docs:** <https://docs.docker.com/build/buildkit>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/moby/buildkit/archive/refs/tags/v0.31.1.tar.gz>
- **Last updated:** 2026-06-24T20:58:44Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- buildctl (cli)
- buildctl (alias)

## Build dependencies

- go

## 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: 0.31.1
- Package-manager updated: 2026-06-24
- Local data: ok
- Upstream repository: https://github.com/moby/buildkit
- Upstream latest detected: v0.31.1 (current)
## Project history and usage

BuildKit is the Moby/Docker-era build backend that turned container image building into a reusable, cache-aware build toolkit rather than a Dockerfile-only code path. Its public identity centers on `buildctl`, `buildkitd`, LLB build graphs, pluggable frontends, cache import/export, and OCI/containerd-oriented workers.

### Project history

The project came out of a 2017 Moby proposal to separate the `docker build` experience into a reusable backend and allow different frontends to compile build descriptions into a lower-level build graph. The public `moby/buildkit` repository was created on 2017-05-31 and describes BuildKit as a toolkit for converting source code to build artifacts efficiently, expressively, and repeatably.

BuildKit's README presents LLB as the core intermediate representation and explicitly frames it as a Dockerfile-independent build graph format. That architectural split is the historical reason BuildKit became useful outside classic Dockerfiles: Dockerfile syntax is one frontend, but other projects can generate LLB directly or through their own frontend.

### Adoption history

BuildKit first became visible to Docker users through opt-in Docker builds, commonly via `DOCKER_BUILDKIT=1 docker build`, and then through Docker Buildx. The README now notes that `docker build` uses Buildx and BuildKit by default since Docker Engine 23.0, making BuildKit part of the ordinary Docker build path rather than only an experimental backend.

The upstream README lists Moby & Docker, Docker Buildx, Tekton Pipelines, Dagger, Earthly, Gitpod, Depot, Namespace, and other projects as users, showing how BuildKit moved from Docker internals into a broader cloud-native build substrate.

### How it is used

As a standalone package, BuildKit is usually used as the `buildctl` client speaking to a `buildkitd` daemon. Users build Dockerfiles, export images or OCI artifacts, import and export caches, run rootless builds, or expose BuildKit as a service for CI and distributed builder setups.

For package-manager users, the appeal is that the same engine behind modern Docker builds can be installed separately, scripted directly, and connected to non-Docker runtimes or remote build workers.

### Why package nerds care

BuildKit matters because it made Docker builds less linear and less Dockerfile-bound: concurrent dependency resolution, content-addressed cache behavior, cache exporters, and frontends gave package and CI people a much sharper tool for reproducible image construction.

It is also one of the clearer examples of a major container tool escaping its original CLI: the Homebrew formula gives macOS users `buildctl`, while the daemon normally lives on Linux or in a VM such as Lima.

### Timeline

- 2017: Moby BuildKit proposal and public `moby/buildkit` repository appear.
- 2018: Moby/Docker integration makes BuildKit available to Docker users through opt-in build paths.
- 2023: Docker Engine 23.0 makes Docker builds use Buildx and BuildKit by default.
- 2026: The upstream repository remains active and BuildKit is broadly used by container build systems.

### Related projects

- BuildKit is closely related to `buildkitd`, `buildctl`, Docker Buildx, Moby/Docker, Dockerfile frontends, containerd, OCI image tooling, Tekton, Dagger, and Earthly.

### Sources

- <https://api.github.com/repos/moby/buildkit>
- <https://docs.docker.com/build/buildkit>
- <https://github.com/moby/buildkit#readme>
- <https://github.com/moby/moby/issues/32925>


## Security Notes

No matching local secret-handling manifest was found for buildkit. 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:** buildkit
- **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 - buildkit: normalized package name match | nixpkgs package indexes: pkgs/by-name/bu/buildkit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - buildctl - 0.29.0-r1: normalized package name match | Alpine Linux edge package indexes: buildctl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit (cli frontend) | https://github.com/moby/buildkit
- apk - buildkit - 0.29.0-r1: normalized package name match | Alpine Linux edge package indexes: buildkit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit | https://github.com/moby/buildkit
- apk - buildkit-doc - 0.29.0-r1: normalized package name match | Alpine Linux edge package indexes: buildkit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit (documentation) | https://github.com/moby/buildkit
- apk - buildkit-openrc - 0.29.0-r1: normalized package name match | Alpine Linux edge package indexes: buildkit-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit (OpenRC init scripts) | https://github.com/moby/buildkit
- pacman - buildkit - 0.30.0-1: normalized package name match | Arch Linux sync databases: buildkit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A toolkit for converting source code to build artifacts in a repeatable manner | https://github.com/moby/buildkit
- zypper - buildkit - 0.29.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: buildkit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Toolkit for converting source code to build artifacts | https://github.com/moby/buildkit
- Scoop - main/buildkit: normalized package name match | Scoop official bucket manifest trees: bucket/buildkit.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [buildkitd](https://www.automicvault.com/pkg/brew/buildkitd/) - Shares the same upstream source repository.
- [build2](https://www.automicvault.com/pkg/brew/build2/) - Shares av.db curated category or tags: build-system, build-systems, cli, developer-tools.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Shares av.db curated category or tags: build-system, build-systems, cli, developer-tools.
- [xmake](https://www.automicvault.com/pkg/brew/xmake/) - Shares av.db curated category or tags: build-system, build-systems, cli, developer-tools.
- [chunkah](https://www.automicvault.com/pkg/brew/chunkah/) - Shares av.db curated category or tags: cli, containers, developer-tools, oci.
- [diffoci](https://www.automicvault.com/pkg/brew/diffoci/) - Shares av.db curated category or tags: cli, containers, developer-tools, oci.
- [manifest-tool](https://www.automicvault.com/pkg/brew/manifest-tool/) - Shares av.db curated category or tags: cli, containers, developer-tools, oci.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Shares av.db curated category or tags: build-system, cli, developer-tools.

## Combined YAML source

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