# 使用 Homebrew, dnf 安装 fernflower

查看 fernflower 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:fernflower
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fernflower
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install fernflower
```

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

## 软件包事实

- **软件包键:** brew:fernflower
- **软件包管理器:** Homebrew
- **版本:** 262.8665.337
- **来源摘要:** Advanced decompiler for Java bytecode
- **主页:** <https://github.com/JetBrains/fernflower>
- **最后更新:** 2026-07-23T18:23:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fernflower (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 262.8665.337
## 项目历史与用法

Fernflower is JetBrains' Java bytecode decompiler engine. Its README describes it as an analytical Java decompiler, bundled in IntelliJ IDEA for viewing Java source while debugging or navigating class files, and usable as a standalone command-line JAR.

### 项目历史

Fernflower predates its current GitHub repository history: the README credits the original development to Stiver and says JetBrains has maintained it since 2014. The GitHub repository itself was created in October 2014 and points to the IntelliJ Community repository as the release location.

The project became part of the wider IntelliJ Java tooling stack rather than a standalone decompiler-only product. Its repository README tells contributors to send patches through the IntelliJ Community project, and its issue tracker route is the IntelliJ IDEA `Java. Decompiler. Engine` subsystem.

### 采用历史

Fernflower's main adoption channel is IntelliJ IDEA, where it is bundled for class-file navigation and debugging. Package-manager adoption gives command-line users a standalone `fernflower` executable or wrapper without needing to extract the engine from an IDE installation.

The README also notes that patches from ForgeFlower were merged and that a long-running mirror by Andrew McRae existed, which reflects Fernflower's role in the broader Java reverse-engineering and Minecraft-modding adjacent decompiler ecosystem.

### 使用方式

Standalone usage runs `java -jar fernflower.jar` with options, one or more class/JAR/ZIP sources, and an output destination. The documented options cover generic signatures, inner classes, synthetic members, lambda handling, identifier renaming, logging, line endings, indentation, and other decompiler behavior.

Inside IntelliJ IDEA, Fernflower is used implicitly when a developer opens or debugs against compiled Java classes without source attached. That dual IDE-and-CLI role is why it is useful both to Java developers and to package users who want scriptable decompilation.

### 为什么软件包爱好者会关心

Fernflower matters in package culture because it packages a decompiler engine from a large IDE ecosystem into a small command-line tool. It also sits at an interesting boundary: official releases are tied to JetBrains' IntelliJ infrastructure, while downstream package managers expose it as a normal CLI.

For Java tooling maintainers, it is a notable example of an IDE component with standalone utility, Apache-licensed source, and ongoing relevance as Java bytecode features evolve.

### 时间线

- 2014: JetBrains begins maintaining Fernflower and the public GitHub repository is created.
- 2014 onward: Fernflower is maintained as part of the IntelliJ Java decompiler engine.
- 2026: GitHub repository metadata shows continuing updates.

### Related projects

- Fernflower is related to IntelliJ IDEA, the IntelliJ Community repository, ForgeFlower, and the wider family of Java bytecode decompilers used by developers and reverse engineers.

### 来源

- <https://github.com/JetBrains/fernflower>
- <https://github.com/JetBrains/fernflower/blob/master/README.md>
- <https://api.github.com/repos/JetBrains/fernflower>
- <https://formulae.brew.sh/formula/fernflower>


## 安全说明

没有找到 fernflower 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- dnf - fernflower - 211.7442.40-18.fc45: normalized package name match | Fedora Rawhide package metadata: fernflower from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | JIdea's java decompiler | https://github.com/JetBrains/intellij-community/tree/master/plugins/java-decompiler/engine
- dnf - fernflower-javadoc - 211.7442.40-18.fc45: normalized package name match | Fedora Rawhide package metadata: fernflower-javadoc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | fernflower API documentation | https://github.com/JetBrains/intellij-community/tree/master/plugins/java-decompiler/engine


## Combined YAML source

View the package source record on GitHub. [combined/fernflower.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fernflower.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
