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

Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit. Version 0.32.0 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#buildkit.

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

  Evidence: Alpine Linux edge package indexes: buildkit 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
- **Version:** 0.32.0
- **Source summary:** Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
- **Homepage:** <https://github.com/moby/buildkit>
- **Repository:** <https://github.com/moby/buildkit>
- **Last updated:** 2026-07-29T17:38:46Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- buildctl (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.32.0
## 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.


## 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-r2: 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-r2: 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-r2: 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-r2: 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.32.1-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.32.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: buildkit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

View the package source record on GitHub. [combined/buildkit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/buildkit.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
