# cfr-decompiler を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:cfr-decompiler
```

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

### macOS

- Homebrew (100%):

```sh
brew install cfr-decompiler
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cfr-decompiler
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cfr-decompiler>
- **バージョン:** 0.152
- **ソース概要:** Yet Another Java Decompiler
- **ホームページ:** <https://www.benf.org/other/cfr/>
- **リポジトリ:** <https://github.com/leibnitz27/cfr>
- **上流ドキュメント:** <https://www.benf.org/other/cfr/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/leibnitz27/cfr.git>
- **最終更新:** 2026-06-22T14:03:00-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cfr-decompiler (cli)
- cfr-decompiler (エイリアス)

## 依存関係

- openjdk@21

## ビルド依存関係

- maven

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.152
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/leibnitz27/cfr
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

CFR is a Java bytecode decompiler distributed as the `cfr-decompiler` Homebrew formula. Its official site describes it as another Java decompiler that can handle modern Java features while being written in Java 6 for broad runtime compatibility.

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

The official GitHub repository was created in May 2014 and points users to benf.org as the main CFR site. The README says CFR can decompile modern Java features, including Java 9, 12, and 14 features, and can make a reasonable attempt at JVM languages such as Kotlin, Scala, and Groovy.

The benf.org project page records a long release history, including 0.146 in July 2019, 0.147 in October 2019, 0.150 in May 2020, 0.151 in February 2021, and 0.152 in December 2021. The README notes that since 0.145, binaries have also been published on GitHub releases.

### 採用の歴史

CFR's adoption comes from the Java reverse-engineering and debugging niche: developers use it when they need readable Java-like output from class files or jars, especially for newer language features that older decompilers may not handle cleanly.

Official distribution includes the benf.org jar downloads, GitHub release artifacts, and Maven Central. The Homebrew package wraps that Java tool in a package-manager-friendly executable for macOS users.

### 使われ方

The documented use is to run the versioned jar against class names or class files, or pass an entire jar and an `--outputdir` when emitting files. The README also documents `--help` for arguments.

CFR supports an options file for decompilation tests, but the official user docs do not document a persistent application config path or credential file for normal CLI use, so both locations are null.

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

CFR matters to package people because decompilers are operational tools as much as developer tools: they are installed when source is missing, artifacts are suspicious, or bytecode behavior needs inspection.

It is also a classic example of a small Java jar that package managers wrap into a named executable. The package value is not dependency complexity; it is putting a known decompiler on PATH.

### タイムライン

- 2014: The leibnitz27/cfr public repository is created on GitHub.
- 2019: CFR 0.146 and 0.147 add support and fixes for Java and Kotlin bytecode patterns.
- 2021: CFR 0.152 is published on benf.org with support and fixes for newer Java features including sealed classes.
- 2026: The official site notes renewed tinkering and points users to the GitHub repository for a modern version.

### Related projects

- The Java compiler and JVM class-file format are the direct targets CFR decompiles.
- Kotlin, Scala, and Groovy are named in the README as JVM languages whose class files CFR may attempt to turn back into Java.
- Maven Central is an official distribution channel for CFR artifacts.

### ソース

- <https://api.github.com/repos/leibnitz27/cfr>
- <https://github.com/leibnitz27/cfr>
- <https://www.benf.org/other/cfr/>
- <https://github.com/leibnitz27/cfr#readme>
- <https://www.benf.org/other/cfr>
- <https://formulae.brew.sh/api/formula/cfr-decompiler.json>


## セキュリティノート

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:** cfr-decompiler
- **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


## 関連リンク

- [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.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk@21](https://pkg.so/ja/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [maven](https://pkg.so/ja/brew/maven/) - Build dependency declared by Homebrew.
- [fernflower](https://pkg.so/ja/brew/fernflower/) - Shares pkgdb curated category or tags: bytecode, cli, decompiler, developer-tools, java.
- [procyon-decompiler](https://pkg.so/ja/brew/procyon-decompiler/) - Shares pkgdb curated category or tags: bytecode, cli, decompiler, developer-tools, java.
- [dex2jar](https://pkg.so/ja/brew/dex2jar/) - Shares pkgdb curated category or tags: bytecode, cli, developer-tools, java, reverse-engineering.
- [vineflower](https://pkg.so/ja/brew/vineflower/) - Shares pkgdb curated category or tags: cli, decompiler, developer-tools, java.
- [proguard](https://pkg.so/ja/brew/proguard/) - Shares pkgdb curated category or tags: bytecode, cli, developer-tools, java.
- [byteman](https://pkg.so/ja/brew/byteman/) - Shares pkgdb curated category or tags: bytecode, cli, developer-tools, java.
- [tiny-remapper](https://pkg.so/ja/brew/tiny-remapper/) - Shares pkgdb curated category or tags: bytecode, cli, developer-tools, java.
- [jasmin](https://pkg.so/ja/brew/jasmin/) - Shares pkgdb curated category or tags: bytecode, cli, developer-tools, java.

## Combined YAML source

View the package source record on GitHub. [combined/cfr-decompiler.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cfr-decompiler.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
- cross-ecosystem install command graph
