# buildozer を Homebrew, Nix でインストール

buildozer のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:buildozer
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install buildozer
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#buildozer
```

  証拠: nixpkgs package indexes: buildozer from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## パッケージ情報

- **パッケージキー:** brew:buildozer
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/buildozer>
- **バージョン:** 8.5.1
- **ソース概要:** Rewrite bazel BUILD files using standard commands
- **ホームページ:** <https://github.com/bazelbuild/buildtools>
- **リポジトリ:** <https://github.com/bazelbuild/buildtools>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/bazelbuild/buildtools/archive/refs/tags/v8.5.1.tar.gz>
- **最終更新:** 2026-07-25T14:19:45-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- buildozer (cli)
- buildozer (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 8.5.1
- マネージャ更新日: 2026-07-25
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/bazelbuild/buildtools
- 検出された最新: v8.5.1 (最新)
## プロジェクトの歴史と使われ方

Buildozer is the command-line rewrite tool from Bazel's `buildtools` repository. It applies scripted edits to Bazel BUILD-like files, complementing Buildifier's formatting role with bulk, machine-checkable structural changes.

### プロジェクトの歴史

The `bazelbuild/buildtools` repository was created on 2016-06-09 as a home for developer tools around Bazel BUILD files. Its top-level README groups Buildifier, Buildozer, and unused_deps together: formatter, editor, and Java dependency cleanup tool.

Buildozer's README defines it as a command-line tool for rewriting multiple Bazel BUILD files with standard commands. Its command language grew around labels, rule kinds, loads, attributes, comments, and later MODULE.bazel operations, reflecting the needs of large Bazel codebases where hand-editing BUILD files is slow and error-prone.

### 採用の歴史

Buildozer's adoption is tied to Bazel adoption. Teams with large monorepos use it for mechanical BUILD-file migrations: adding dependencies, changing rule kinds, rewriting loads, deleting attributes, or applying edits across entire package trees.

Its availability through Homebrew and Nix makes it easy to install outside a Bazel source checkout, while Go module installation gives Bazel users a direct upstream-supported path.

### 使われ方

Typical usage is `buildozer 'command args' //pkg:target`, often repeated across many labels or fed from a command file. Buildozer can print modified files, format through Buildifier, run multiple commands in order, and process files in parallel.

The tool is most useful when a repository-wide BUILD migration should be expressed as a small, repeatable command instead of a one-off script that parses Starlark poorly.

### パッケージ好きにとっての重要性

Buildozer is a package nerd tool because it encodes Bazel's BUILD-file editing semantics into a small CLI. It is the kind of utility that package managers carry so build-system maintainers can do tedious monorepo migrations without checking out a larger toolchain.

Its relationship with Buildifier is the key: one tool changes the syntax tree, the other normalizes the result. That pair became part of the everyday hygiene toolkit for serious Bazel repositories.

### タイムライン

- 2016: `bazelbuild/buildtools` repository is created.
- 2016: Buildozer is distributed as one of the core tools in the Buildtools repository.
- 2020s: Buildozer gains support for modern Bazel file shapes such as MODULE.bazel operations.
- 2026: The Buildtools repository remains active as Bazel's formatter/editor tool collection.

### Related projects

- Buildozer is closely related to Bazel, Buildifier, unused_deps, Starlark BUILD files, MODULE.bazel, and monorepo migration tooling.

### ソース

- <https://api.github.com/repos/bazelbuild/buildtools>
- <https://github.com/bazelbuild/buildtools>
- <https://github.com/bazelbuild/buildtools/blob/master/buildozer/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** buildozer
- **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

## 他のパッケージマネージャ記録

- Nix - buildozer: normalized package name match | nixpkgs package indexes: buildozer from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [buildifier](https://pkg.so/ja/brew/buildifier/) - Shares the same upstream source repository.
- [gh](https://pkg.so/ja/brew/gh/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [just](https://pkg.so/ja/brew/just/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [watchman](https://pkg.so/ja/brew/watchman/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [go-task](https://pkg.so/ja/brew/go-task/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [powershell](https://pkg.so/ja/brew/powershell/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [gflags](https://pkg.so/ja/brew/gflags/) - Shares pkgdb curated category or tags: bazel, cli, developer-tools.
- [sshpass](https://pkg.so/ja/brew/sshpass/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [ahoy](https://pkg.so/ja/brew/ahoy/) - Local package facts share a topical domain. Shared terms: automation, cli, commands, developer, developer-tools.
- [ibazel](https://pkg.so/ja/brew/ibazel/) - Local metadata places this package in an adjacent workflow. Shared terms: bazel, build, cli, developer, developer-tools.

## Combined YAML source

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


## ソース

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