Automic VaultAutomic Vault

brew

Install bazel-diff with Homebrew

Performs Bazel Target Diffing between two revisions in Git. Version 31.3.2 via Homebrew; verified 2026-07-08.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install bazel-diff

local Homebrew formula metadata

overview

Package summary

Performs Bazel Target Diffing between two revisions in Git

Commands and aliases

  • bazel-diff

history

Project history and usage

bazel-diff is Tinder's command-line utility for computing the Bazel targets affected between two Git revisions, letting CI systems build or test the precise changed target set instead of rerunning an entire monorepo.

Project history

The upstream repository begins in September 2020 with a v1.0-era implementation of Bazel target diffing. Its README frames the project as an answer to a gap in Bazel itself, pointing to the long-running Bazel feature request for native target diffing and to a BazelCon talk as design inspiration.

The tool's implementation history is tied to very large Bazel graphs: the README calls out streamed protobuf query output, avoidance of long command-line query lists, support for renamed/deleted/modified files, and testing against projects with tens of thousands of targets.

Adoption history

Adoption is strongest among Bazel monorepo users who need deterministic affected-target selection for pull-request CI. The Homebrew formula packages it as a standalone CLI, making it accessible outside the original Tinder repository.

Later README additions describe an experimental HTTP query service and cached hash generation, showing a shift from one-shot local comparison toward always-on CI infrastructure for large repositories.

How it is used

A typical workflow checks out a base revision, generates Bazel graph hashes, checks out a final revision, generates hashes again, and runs get-impacted-targets to emit the changed target labels as JSON.

The tool is used when correctness matters more than approximate file globs: its docs explicitly warn that incorrect affected-test selection erodes trust in green-to-red CI transitions.

Why package nerds care

For package-history nerds, bazel-diff is a good example of the post-Bazel ecosystem filling operational gaps around monorepo CI rather than replacing Bazel itself.

It also illustrates why Bazel-adjacent packages often matter more as automation primitives than as developer-facing build tools: the interesting artifact is the affected-target JSON consumed by CI.

Timeline

  • 2020-09: Upstream git history starts with the initial v1.0-era bazel-diff code.
  • 2020s: Homebrew packages bazel-diff as a standalone CLI for macOS and Linux users.
  • 2020s: README-documented features expand to build graph distance metrics and an experimental long-running query service.

Related projects

  • Bazel supplies the query and build graph model that bazel-diff analyzes.
  • Aspect's impacted command is documented by bazel-diff as a Starlark/Aspect CLI way to expose a similar impacted-target workflow.
  • Bazelisk is commonly paired with bazel-diff in CI so the Bazel binary used for graph hashing matches the workspace's pinned version.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for bazel-diff. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bazel-diffcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version31.3.2
manager updated2026-07-08
local dataok
upstreamcurrent
latest detectedv31.3.2

https://github.com/Tinder/bazel-diff

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:bazel-diff
Version31.3.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bazel-diff
Homepagehttps://github.com/Tinder/bazel-diff/
Repositoryhttps://github.com/Tinder/bazel-diff
Upstream docshttps://github.com/Tinder/bazel-diff#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/Tinder/bazel-diff/archive/refs/tags/v31.3.2.tar.gz
Last updated2026-07-08T03:19:16Z
Pulseupdated
Dependenciesopenjdk
Build dependenciesbazel
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebazel-diff
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment