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

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

## インストール

```sh
sudo av install brew:xcbeautify
```

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

### macOS

- Homebrew (100%):

```sh
brew install xcbeautify
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xcbeautify
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#xcbeautify
```

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

## パッケージ情報

- **パッケージキー:** brew:xcbeautify
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.2.1
- **ソース概要:** Little beautifier tool for xcodebuild
- **ホームページ:** <https://github.com/cpisciotta/xcbeautify>
- **リポジトリ:** <https://github.com/cpisciotta/xcbeautify>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- xcbeautify (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

xcbeautify is a Swift command-line formatter for xcodebuild output. Its README presents it as a faster alternative to xcpretty, with colored human-readable output and support for modern Xcode, Swift Package Manager, and CI rendering workflows.

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

The GitHub release history shows xcbeautify releases from 0.3.6 in December 2018 to the 3.x series in 2026. The project has remained focused on parsing and presenting Apple's verbose build and test output while tracking changes in Xcode behavior.

The README emphasizes being written in Swift and compiling to a static binary, reducing Ruby dependence in development and CI environments compared with xcpretty. Later features include JUnit report generation and dedicated renderers for GitHub Actions, TeamCity, and Azure DevOps Pipeline.

### 採用の歴史

xcbeautify's adoption is most visible in the iOS and macOS CI ecosystem. fastlane's xcodebuild formatter documentation says fastlane 2.201.0 and later can select an xcodebuild_formatter, defaults to xcbeautify when it is installed, and describes xcbeautify as the recommended formatter.

The same fastlane documentation explains the transition context: xcpretty had historically been tightly integrated with fastlane as a RubyGem dependency, while xcbeautify became preferred for new build-system output, parallel testing output, Swift Package Manager formatting, and speed.

### 使われ方

The basic usage is to pipe xcodebuild output into xcbeautify. The README also recommends `set -o pipefail` in CI so the pipeline preserves xcodebuild's exit status, and shows unbuffered/combined output for parallel or concurrent destination testing.

CI users can select specialized renderers, such as `--renderer github-actions`, so warnings, errors, and test results appear directly in the CI provider interface instead of only in raw logs.

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

xcbeautify is important in Apple-platform packaging because xcodebuild is unavoidable but noisy. It provides a small CLI layer that makes Xcode builds readable in terminal and CI logs without tying the workflow to Ruby.

Its role is also a good example of ecosystem succession: a Swift-native formatter increasingly replacing or supplementing xcpretty in places where Xcode's newer build and parallel-test output needed better handling.

### タイムライン

- 2018: GitHub release history includes xcbeautify 0.3.6.
- 2022: fastlane 2.201.0 and later document xcodebuild_formatter support and default to xcbeautify when installed.
- 2023: 1.0.1 is published in the release stream.
- 2024: 2.0.1 is published in the release stream.
- 2026: 3.2.1 is released with fixes and additional CLI test coverage.

### Related projects

- xcbeautify is directly related to xcodebuild, Swift Package Manager, fastlane scan/gym/snapshot, and xcpretty.

### ソース

- <https://docs.fastlane.tools/best-practices/xcodebuild-formatters/>
- <https://github.com/cpisciotta/xcbeautify/releases>
- <https://github.com/xcpretty/xcpretty>
- <https://raw.githubusercontent.com/cpisciotta/xcbeautify/main/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals
- **承認ゲートルール:** 2

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

- Nix - xcbeautify: normalized package name match | nixpkgs package indexes: pkgs/by-name/xc/xcbeautify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - xcbeautify: normalized package name match | MacPorts ports tree: devel/xcbeautify/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/xcbeautify.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xcbeautify.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- approval-gate seed metadata
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
