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

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

## インストール

```sh
sudo av install brew:blueutil
```

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

### macOS

- Homebrew (100%):

```sh
brew install blueutil
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install blueutil
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#blueutil
```

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

## パッケージ情報

- **パッケージキー:** brew:blueutil
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/blueutil>
- **バージョン:** 2.13.0
- **ソース概要:** Get/set bluetooth power and discoverable state
- **ホームページ:** <https://github.com/toy/blueutil>
- **リポジトリ:** <https://github.com/toy/blueutil>
- **上流ドキュメント:** <https://github.com/toy/blueutil#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/toy/blueutil/archive/refs/tags/v2.13.0.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

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

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 2.13.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/toy/blueutil
- 検出された最新: v2.13.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

blueutil is a long-running macOS command-line utility for reading and changing Bluetooth state: power, discoverability, paired and connected devices, device info, pairing, connection, and output formats for scripts.

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

blueutil was originally written by Frederik Seiffert and later maintained by Ivan Kuchin, as recorded in the README copyright section. The GitHub repository dates back to 2011, with v1.0.0 tagged in 2012 and a continuing v2.x release line.

The tool grew from simple power and discoverability controls into a broader Bluetooth scripting interface. The README documents private IOBluetooth framework use, root-user safeguards, JSON output formats, device connection operations, wait commands, and an experimental system_profiler fallback for some paired-device queries.

### 採用の歴史

blueutil became the standard package-manager answer for 'control Bluetooth from a shell on macOS.' Its README documents Homebrew and MacPorts installs, and the input metadata also records a Nix package, reflecting adoption by both casual Mac users and reproducible-environment users.

Its role persisted because macOS does not expose all of these Bluetooth controls through a stable, script-friendly built-in CLI, so package managers filled the gap with a small native utility.

### 使われ方

Users run blueutil with flags such as --power, --discoverable, --paired, --connected, --info, --connect, --disconnect, --pair, and --unpair. Output can be human-readable or JSON, making it useful in shell scripts, status bars, automation tools, and troubleshooting flows.

The README warns that it uses private IOBluetooth preference APIs and documents macOS-version quirks such as favorite/recent-device behavior starting with macOS 12 Monterey.

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

blueutil is the classic tiny Mac systems package: one binary that unlocks automation around a GUI-controlled OS feature. Package nerds care because it has survived macOS Bluetooth API changes, packaging across Homebrew/MacPorts/Nix, architecture transitions, and years of shell-script dependence.

It also illustrates the maintenance burden of packaging native Mac utilities: private frameworks, root behavior, TCC/API access failures, output formats for scripts, and compatibility notes all live in a very small command-line surface.

### タイムライン

- 2011: GitHub repository created for blueutil.
- 2012: v1.0.0 tag published.
- 2018: v2.0.0 tag published.
- 2021: README documents macOS 12 Monterey behavior changes for favorite and recent devices.
- 2025: v2.13.0 tag and README copyright show continued maintenance.

### Related projects

- blueutil-tui is documented by the README as a text user interface built on top of blueutil.
- Homebrew, MacPorts, and Nix are package-manager channels recorded for installation.
- macOS IOBluetooth and system_profiler are the platform interfaces used or offered as alternatives.

### ソース

- <https://github.com/toy/blueutil#readme>
- <https://github.com/toy/blueutil/releases>
- source_facts.package-manager


## セキュリティノート

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:** blueutil
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - blueutil: normalized package name match | nixpkgs package indexes: pkgs/by-name/bl/blueutil/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - blueutil: normalized package name match | MacPorts ports tree: sysutils/blueutil/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [bluetoothconnector](https://www.automicvault.com/ja/pkg/brew/bluetoothconnector/) - Shares av.db curated category or tags: bluetooth, cli, macos, system.
- [asitop](https://www.automicvault.com/ja/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, macos, system.
- [bluez](https://www.automicvault.com/ja/pkg/brew/bluez/) - Shares av.db curated category or tags: bluetooth, cli, system.
- [brightness](https://www.automicvault.com/ja/pkg/brew/brightness/) - Shares av.db curated category or tags: cli, macos, system.
- [cliclick](https://www.automicvault.com/ja/pkg/brew/cliclick/) - Shares av.db curated category or tags: cli, macos, system.
- [dark-mode](https://www.automicvault.com/ja/pkg/brew/dark-mode/) - Shares av.db curated category or tags: cli, macos, system.
- [ddcctl](https://www.automicvault.com/ja/pkg/brew/ddcctl/) - Shares av.db curated category or tags: cli, macos, system.
- [defaultbrowser](https://www.automicvault.com/ja/pkg/brew/defaultbrowser/) - Shares av.db curated category or tags: cli, macos, system.
- [screenresolution](https://www.automicvault.com/ja/pkg/brew/screenresolution/) - Local package facts share a topical domain. Shared terms: cli, get, macos, set, system.
- [infat](https://www.automicvault.com/ja/pkg/brew/infat/) - Local package facts share a topical domain. Shared terms: cli, macos, set, system.

## Combined YAML source

View the package source record on GitHub. [combined/blueutil.yml](https://github.com/automic-vault/db/blob/main/combined/blueutil.yml)


## ソース

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