# 使用 Homebrew, Nix 安装 licensefinder

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

## 安装

```sh
sudo av install brew:licensefinder
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install licensefinder
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#license_finder
```

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

## 软件包事实

- **软件包键:** brew:licensefinder
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/licensefinder>
- **版本:** 7.2.1
- **来源摘要:** Find licenses for your project's dependencies
- **主页:** <https://github.com/pivotal/LicenseFinder>
- **仓库:** <https://github.com/pivotal/LicenseFinder>
- **上游文档:** <https://github.com/pivotal/LicenseFinder#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/pivotal/LicenseFinder.git>
- **最后更新:** 2026-06-22T14:05:10-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- license_finder (cli)
- license_finder (别名)

## 依赖

- ruby

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 7.2.1
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/pivotal/LicenseFinder
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

LicenseFinder is Pivotal's long-running Ruby CLI for finding dependency licenses, comparing them with approved policies, and reporting unapproved packages. It covers many project types by calling their native package managers rather than treating license scanning as a single-language problem.

### 项目历史

The public repository was created on 2011-01-17. The README describes a tool that works with package managers to find dependencies, detect licenses, compare them with permitted licenses, and produce actionable exception reports.

The changelog records a broadening scope over time: support for Ruby, Node, Python, Java, Go, CocoaPods, Swift Package Manager, Rust Cargo, PHP Composer, Conda, Flutter, and other ecosystems appears across releases. Release 7.0.0 in 2022 added Ruby 3 support, Flutter scanning, and SPDX identifier reporting.

### 采用历史

LicenseFinder spread through CLI, RubyGems, Homebrew, Docker, and pre-commit workflows. Its Docker image bundles package managers so CI jobs can scan mixed-language repositories without installing every ecosystem tool on the host.

### 使用方式

Users run license_finder after installing project dependencies. The tool records approvals and permitted licenses, exits non-zero for unapproved dependencies, and can run in CI to catch new dependency-license work items.

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

LicenseFinder is important to package people because it exposes the practical mess of license metadata: every package manager has different files, commands, and metadata conventions, so the tool's value is in its adapters and decision record as much as in license detection.

### 时间线

- 2011-01-17: GitHub repository created.
- 2021-06-25: v6.14.1 changelog entry includes a command-injection fix for CocoaPods projects.
- 2022-03-04: v7.0.0 adds Ruby 3 support, Flutter scanning, and SPDX identifier reporting.
- 2022-11-28: v7.1.0 adds a pre-commit hook.
- 2024-05-07: v7.2.0 adds Ruby 3.3 support and several package-manager compatibility updates.

### Related projects

- Related projects include package-manager license commands, SPDX identifiers, pre-commit, and license-policy tools such as Licensed.

### 来源

- <https://api.github.com/repos/pivotal/LicenseFinder>
- <https://formulae.brew.sh/formula/licensefinder>
- <https://github.com/pivotal/LicenseFinder>
- <https://raw.githubusercontent.com/pivotal/LicenseFinder/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/pivotal/LicenseFinder/master/README.md>


## 安全说明

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/license_finder.yml, doc/dependency_decisions.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** licensefinder
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - license_finder: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/li/license_finder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/zh-hans/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [ruby](https://www.automicvault.com/zh-hans/pkg/brew/ruby/) - Runtime dependency declared by Homebrew.
- [licensed](https://www.automicvault.com/zh-hans/pkg/brew/licensed/) - Shares av.db curated category or tags: cli, dependencies, developer-tools, license-compliance, licenses.
- [licenseplist](https://www.automicvault.com/zh-hans/pkg/brew/licenseplist/) - Shares av.db curated category or tags: cli, developer-tools, license-compliance, licenses.
- [license-eye](https://www.automicvault.com/zh-hans/pkg/brew/license-eye/) - Shares av.db curated category or tags: cli, developer-tools, license-compliance.
- [licensor](https://www.automicvault.com/zh-hans/pkg/brew/licensor/) - Shares av.db curated category or tags: cli, developer-tools, license-compliance.
- [anycable-go](https://www.automicvault.com/zh-hans/pkg/brew/anycable-go/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [brew-gem](https://www.automicvault.com/zh-hans/pkg/brew/brew-gem/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [cargo-chef](https://www.automicvault.com/zh-hans/pkg/brew/cargo-chef/) - Shares av.db curated category or tags: cli, dependencies, developer-tools.
- [cargo-edit](https://www.automicvault.com/zh-hans/pkg/brew/cargo-edit/) - Shares av.db curated category or tags: cli, dependencies, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/licensefinder.yml](https://github.com/automic-vault/db/blob/main/combined/licensefinder.yml)


## 来源

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