# bfs を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:bfs
```

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

### macOS

- Homebrew (100%):

```sh
brew install bfs
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bfs
```

  証拠: MacPorts ports tree: sysutils/bfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bfs
```

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

- Debian apt (92%):

```sh
sudo apt install bfs
```

  証拠: Debian stable package indexes: bfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bfs
```

  証拠: Fedora Rawhide package metadata: bfs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bfs
```

  証拠: nixpkgs package indexes: pkgs/by-name/bf/bfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S bfs
```

  証拠: Arch Linux sync databases: bfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:bfs
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.1.4
- **ソース概要:** Breadth-first version of find
- **ホームページ:** <https://tavianator.com/projects/bfs.html>
- **リポジトリ:** <https://github.com/tavianator/bfs>
- **最終更新:** 2026-06-29T20:47:31Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bfs (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.1.4
## プロジェクトの歴史と使われ方

bfs is a C implementation of a breadth-first variant of the Unix find command. It aims to remain compatible with POSIX, GNU, BSD, and macOS find behavior while adding a friendlier command-line parser, diagnostics, and practical extensions.

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

The official repository was created in June 2015. Early tags show a pre-1.0 series before the project reached 1.0 in 2017, followed by 2.0 in October 2020, 3.0 in July 2023, 4.0 in August 2024, and active 4.1.x maintenance through June 2026.

The README documents the core design choice: unlike traditional depth-first find traversal, bfs lists shallower paths first. Around that foundation it adds compatibility with several find dialects, argument-order leniency, typo suggestions, expression warnings, and convenience extensions such as -exclude and -nohidden.

### 採用の歴史

bfs has unusually broad packaging for a small Unix utility. Its README lists packages for Alpine, Arch, Debian/Ubuntu, Fedora, Gentoo, Guix, macOS, and other systems, and the input separately records Homebrew, MacPorts, Nix, pacman, zypper, Debian, Ubuntu, and Alpine packaging.

That packaging footprint reflects the niche: bfs is not a replacement for every find use, but it is attractive to users who want familiar find syntax with better traversal behavior, diagnostics, and cross-platform consistency.

### 使われ方

Users run bfs much like find: searching directory trees by name, type, size, metadata, predicates, and actions. Its breadth-first order can surface shallow matches earlier, and its parser accepts common argument placements that traditional find variants reject.

The tool is also useful in scripts when its extensions matter, but its package value is strongest for interactive shell use where friendlier errors and faster discovery of shallow matches save time.

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

bfs is notable to package-focused users because it reimagines one of Unix's oldest daily-driver commands without throwing away compatibility. That makes it a rare modern system utility that can be installed next to the base tool and immediately compared on real workflows.

Its significance is not just breadth-first search. The interesting packaging story is a small, carefully maintained C utility earning broad distro adoption by being faster to understand than find, stricter about warning users when expressions are probably wrong, and portable enough to ship across Linux and macOS ecosystems.

### タイムライン

- 2015: Repository created in June.
- 2017: 1.0 released.
- 2020: 2.0 released in October.
- 2023: 3.0 released in July.
- 2024: 4.0 released in August.
- 2026: 4.1.4 released in June.

### Related projects

- Related projects include POSIX find, GNU findutils, BSD find implementations, fd for simple name-based search, and locate/plocate for indexed filename search.

### ソース

- <https://api.github.com/repos/tavianator/bfs>
- <https://api.github.com/repos/tavianator/bfs/releases>
- <https://raw.githubusercontent.com/tavianator/bfs/main/README.md>
- <https://raw.githubusercontent.com/tavianator/bfs/main/docs/CHANGELOG.md>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- Debian apt - bfs - 4.0.6-1: normalized package name match | Debian stable package indexes: bfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Breadth-first version of find(1) | https://github.com/tavianator/bfs
- Nix - bfs: normalized package name match | nixpkgs package indexes: pkgs/by-name/bf/bfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bfs - 3.1.2-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: bfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Breadth-first version of find(1) | https://github.com/tavianator/bfs
- apk - bfs - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: bfs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Breadth-first variant of the UNIX find command | https://github.com/tavianator/bfs
- apk - bfs-bash-completion - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: bfs-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for bfs | https://github.com/tavianator/bfs
- apk - bfs-doc - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: bfs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Breadth-first variant of the UNIX find command (documentation) | https://github.com/tavianator/bfs
- apk - bfs-fish-completion - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: bfs-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for bfs | https://github.com/tavianator/bfs
- apk - bfs-zsh-completion - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: bfs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for bfs | https://github.com/tavianator/bfs
- dnf - bfs - 4.1.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: bfs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A breadth-first version of the UNIX find command | https://tavianator.com/projects/bfs.html
- pacman - bfs - 4.1.4-1: normalized package name match | Arch Linux sync databases: bfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A breadth-first version of find | https://tavianator.com/projects/bfs.html
- MacPorts - bfs: normalized package name match | MacPorts ports tree: sysutils/bfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

- 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
