# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 2.14.0
- **来源摘要:** Subdomain discovery tool
- **主页:** <https://projectdiscovery.io>
- **仓库:** <https://github.com/projectdiscovery/subfinder>
- **最后更新:** 2026-07-26T04:03:47+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- subfinder (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
