要先安装go环境,然后设置go的代理 $ go env -w GOPROXY=https://goproxy.cn,direct 安装subfinder go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder 完成后找到subfinder.exe文件 一般是在自己设置的gopath的bin下 在安装目录下,运行,也可以加入环境变量就可以在任意目录运行