macOS
brew install b4local Homebrew formula metadata
brew
Tool to work with public-inbox and patch archives. Version 0.15.2 via Homebrew; verified 2026-05-20.
install
brew install b4local Homebrew formula metadata
sudo apk add b4Alpine Linux edge package indexes · b4 · source: dl-cdn.alpinelinux.org
sudo apt install b4Debian stable package indexes · b4 · source: deb.debian.org
sudo dnf install b4Fedora Rawhide package metadata · b4 · source: dl.fedoraproject.org
nix profile install nixpkgs#b4nixpkgs package indexes · pkgs/by-name/b4/b4/package.nix · source: api.github.com
sudo pacman -S b4Arch Linux sync databases · b4 · source: geo.mirror.pkgbuild.com
sudo zypper install b4openSUSE Tumbleweed package metadata · b4 · source: download.opensuse.org
overview
Tool to work with public-inbox and patch archives
history
b4 is a kernel.org-hosted command-line tool for distributed development workflows built around mailing-list patches. It helps contributors, reviewers, and maintainers retrieve threads from public-inbox archives, prepare and send patch series, apply patches, collect trailers, and tie Git commits back to list discussion.
b4 grew out of the Linux kernel community's long-running email patch workflow. Its documentation states that it was created to make it easier for developers and maintainers to use distributed workflows that rely on patches and distribution lists for contribution and review.
The project is hosted under kernel.org's utilities namespace and its docs are divided by role: maintainers who receive and apply series, reviewers who inspect patches, and contributors who prepare and send work. That structure mirrors the social workflow of kernel development more than a generic Git porcelain.
b4's adoption follows the public-inbox and lore.kernel.org era of kernel development: instead of scraping local mailboxes, it can operate against archived mailing-list threads by message id and then produce mbox, git-am, trailer, and review workflows.
The package metadata in this batch shows b4 available through Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, and openSUSE. That is a practical sign that the tool moved from kernel-maintainer specialty into the general Unix developer toolbox.
Maintainers use b4 commands such as mbox, am, shazam, diff, pr, ty, review, and kr to fetch patch threads, apply series, compare revisions, process pull requests, send feedback, and work with contributor keys.
Contributors use b4 prep, send, and trailers to prepare patch series, send mail, and collect reviewed-by or acked-by trailers from mailing-list discussion. Configuration is intentionally Git-native, using system, user, repository, and optional .b4-config settings.
b4 is package-nerd gold because it packages a culture, not just a command. It encodes the Linux kernel's email-first review workflow into reproducible CLI steps that can be installed on macOS and Linux without joining the whole kernel.org infrastructure by hand.
It also marks the modern public-inbox turn in open-source packaging: source history, review, and artifact provenance are stitched together by message ids, Link trailers, and git metadata rather than by a web forge alone.
security posture
No matching local secret-handling manifest was found for b4. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/gitconfig~/.gitconfigsomerepo/.git/config.b4-configCredential-bearing paths to review before unattended agent runs.
/etc/gitconfig~/.gitconfigsomerepo/.git/configexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
b4 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://b4.docs.kernel.org/en/latest/
install metadata
| Package key | brew:b4 |
|---|---|
| Version | 0.15.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/b4 |
| Homepage | https://b4.docs.kernel.org/en/latest/ |
| Repository | https://git.kernel.org/pub/scm/utils/b4/b4.git |
| Upstream docs | https://b4.docs.kernel.org/en/latest |
| License | GPL-2.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/c3/34/7f17fce52acb992d7b70aaa956e6dec4dc432ce8d195a176f232fcd6315c/b4-0.15.2.tar.gz |
| Last updated | 2026-05-20T10:36:58Z |
| Pulse | updated |
| Dependencies | certifi, cffi, libsodium, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | b4 |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
b4 0.14.2-2
helper utility to work with patches made available via a public-inbox archive
https://git.kernel.org/pub/scm/utils/b4/b4.git
sudo apt install b4b4
nix profile install nixpkgs#b4b4 0.13.0-1
helper utility to work with patches made available via a public-inbox archive
https://git.kernel.org/pub/scm/utils/b4/b4.git
sudo apt install b4b4 0.15.2-r0
Tool to help with email-based patch workflows
sudo apk add b4b4-doc 0.15.2-r0
Tool to help with email-based patch workflows (documentation)
sudo apk add b4-docb4-pyc 0.15.2-r0
Precompiled Python bytecode for b4
sudo apk add b4-pycb4 0.14.3-3.fc45
A helper tool to work with public-inbox and patch series
https://git.kernel.org/pub/scm/utils/b4/b4.git
sudo dnf install b4b4 0.15.2-1
Helper utility to work with patches made available via a public-inbox archive like lore.kernel.org.
https://git.kernel.org/pub/scm/utils/b4/b4.git/
sudo pacman -S b4b4 0.15.2-1.1
Helper scripts for kernel.org patches
https://git.kernel.org/pub/scm/utils/b4/b4.git
sudo zypper install b4source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.