# 使用 Homebrew, dnf, Nix, zypper 安装 subfinder

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

## 安装

```sh
sudo av install brew:subfinder
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install subfinder
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install subfinder
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#subfinder
```

  证据: nixpkgs package indexes: pkgs/by-name/su/subfinder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install subfinder
```

  证据: openSUSE Tumbleweed package metadata: subfinder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:subfinder
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/subfinder>
- **版本:** 2.14.0
- **来源摘要:** Subdomain discovery tool
- **主页:** <https://projectdiscovery.io>
- **仓库:** <https://github.com/projectdiscovery/subfinder>
- **上游文档:** <https://projectdiscovery.io>
- **许可证:** MIT
- **源码归档:** <https://github.com/projectdiscovery/subfinder/archive/refs/tags/v2.14.0.tar.gz>
- **最后更新:** 2026-07-26T04:03:47+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- subfinder (cli)
- subfinder (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.14.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/projectdiscovery/subfinder
- 检测到的最新版本: v2.14.0 (当前)
## 项目历史与用法

subfinder is ProjectDiscovery's passive subdomain-enumeration CLI. The official docs describe it as a tool that finds valid subdomains using passive online sources, with a modular architecture optimized for speed, stealth, and integration into penetration-testing and bug-bounty workflows.

### 项目历史

Official Git tags in the ProjectDiscovery repository show public releases beginning in 2018, with v2-era tags appearing by late 2019 and continued v2 releases through 2026. The README frames the project as a single-purpose tool: passive subdomain enumeration that respects source licenses and usage restrictions.

### 采用历史

The install docs document Go, Homebrew, Docker, GitHub source builds, and downloadable binaries. The input package-manager facts additionally list Homebrew, DNF, Nix, and zypper, showing the tool's spread across security-tool packaging channels.

### 使用方式

Typical usage is `subfinder -d example.com` or feeding domain lists, choosing passive sources, writing JSONL or text output, and using stdin/stdout in larger reconnaissance pipelines. Its docs also emphasize post-install provider configuration because many passive sources require API keys.

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

subfinder matters in package-manager culture because ProjectDiscovery tools are often installed as a suite of composable Go CLIs. Packagers care about its static-binary-friendly Go distribution, Docker image, Homebrew formula, config and credential paths, and compatibility with automation-heavy security workflows.

### 时间线

- 2018-05-01: Earliest official repository tags include v0.1 and v0.1.1.
- 2018-06-26: Official repository tag 1.0 created.
- 2019-12-05: Official repository tag v2.0 created.
- 2026-04-25: Official repository tag v2.14.0 created.

### Related projects

- The official docs place subfinder within ProjectDiscovery's open-source security-tool family, alongside tools such as httpx, nuclei, naabu, katana, notify, uncover, and the ProjectDiscovery Tool Manager.

### 来源

- Official git tag dates from https://github.com/projectdiscovery/subfinder.git
- <https://docs.projectdiscovery.io/opensource/subfinder/install.md>
- <https://docs.projectdiscovery.io/opensource/subfinder/overview.md>
- <https://raw.githubusercontent.com/projectdiscovery/subfinder/dev/README.md>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $CONFIG/subfinder/config.yaml, ~/.config/subfinder/config.yaml

## Credential files

- Unix: $CONFIG/subfinder/provider-config.yaml, ~/.config/subfinder/provider-config.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** subfinder
- **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

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

- Nix - subfinder: normalized package name match | nixpkgs package indexes: pkgs/by-name/su/subfinder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - subfinder - 2.14.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: subfinder from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Fast passive subdomain enumeration tool | https://github.com/projectdiscovery/subfinder
- zypper - subfinder - 2.13.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: subfinder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fast passive subdomain enumeration tool | https://github.com/projectdiscovery/subfinder


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [cdncheck](https://pkg.so/zh-hans/brew/cdncheck/) - Shares the same upstream homepage.
- [shuffledns](https://pkg.so/zh-hans/brew/shuffledns/) - Shares the same upstream homepage.
- [mapcidr](https://pkg.so/zh-hans/brew/mapcidr/) - Shares the same upstream homepage.
- [pdtm](https://pkg.so/zh-hans/brew/pdtm/) - Shares the same upstream homepage.
- [proxify](https://pkg.so/zh-hans/brew/proxify/) - Shares the same upstream homepage.
- [amass](https://pkg.so/zh-hans/brew/amass/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security.
- [theharvester](https://pkg.so/zh-hans/brew/theharvester/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security.
- [bbot](https://pkg.so/zh-hans/brew/bbot/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security.
- [phoneinfoga](https://pkg.so/zh-hans/brew/phoneinfoga/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security.
- [recon-ng](https://pkg.so/zh-hans/brew/recon-ng/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security.
- [findomain](https://pkg.so/zh-hans/brew/findomain/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security, subdomain-enumeration.
- [uncover](https://pkg.so/zh-hans/brew/uncover/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security.
- [sn0int](https://pkg.so/zh-hans/brew/sn0int/) - Shares pkgdb curated category or tags: cli, osint, reconnaissance, security.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
