# 使用 Homebrew 安装 licensor

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

## 安装

```sh
sudo av install brew:licensor
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install licensor
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:licensor
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/licensor>
- **版本:** 2.1.0
- **来源摘要:** Write licenses to stdout
- **主页:** <https://github.com/raftario/licensor>
- **仓库:** <https://github.com/raftario/licensor>
- **上游文档:** <https://github.com/raftario/licensor#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/raftario/licensor/archive/refs/tags/v2.1.0.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- licensor (cli)
- licensor (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.1.0
- 本地数据: OK
- 上游仓库: https://github.com/raftario/licensor
- 检测到的最新版本: v2.1.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

licensor is a Rust CLI that prints license texts to standard output from SPDX identifiers. It is deliberately small: license and exception data are compiled into the binary, and users redirect output into a LICENSE file.

### 项目历史

The public repository was created on 2019-09-19. The README says the author made it after getting tired of looking for license files for new projects.

The project is built around SPDX License List data. Its README says licenses are parsed from SPDX license-list-data, compressed, generated into Rust code, and included in the final CLI binary.

### 采用历史

licensor is distributed through Homebrew, crates.io, and GitHub release binaries. Its audience is developers who want a quick, offline-capable way to generate standard license text by SPDX ID.

### 使用方式

Users run commands such as licensor MIT "Name" > LICENSE, list available licenses, or print expressions with SPDX WITH exceptions while optionally skipping optional text.

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

licensor is package-nerd useful because it treats SPDX IDs as executable package metadata: the stable identifier becomes the input, and the canonical license body becomes a reproducible build artifact.

### 时间线

- 2019-09-19: GitHub repository created.
- 2019: README describes SPDX-backed license generation and WITH exception support.
- 2026: Repository metadata identifies Rust, CLI, license, licensing, and SPDX topics.

### Related projects

- Related projects include SPDX license-list-data, crates.io Rust CLIs, Homebrew developer-tool formulae, and repository bootstrapping tools that create LICENSE files.

### 来源

- <https://api.github.com/repos/raftario/licensor>
- <https://crates.io/crates/licensor>
- <https://formulae.brew.sh/formula/licensor>
- <https://github.com/raftario/licensor>
- <https://github.com/spdx/license-list-data>
- <https://raw.githubusercontent.com/raftario/licensor/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control 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.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [license-eye](https://www.automicvault.com/zh-hans/pkg/brew/license-eye/) - Shares av.db curated category or tags: cli, developer-tools, license-compliance.
- [licensed](https://www.automicvault.com/zh-hans/pkg/brew/licensed/) - Shares av.db curated category or tags: cli, developer-tools, license-compliance.
- [licensefinder](https://www.automicvault.com/zh-hans/pkg/brew/licensefinder/) - Shares av.db curated category or tags: cli, developer-tools, license-compliance.
- [licenseplist](https://www.automicvault.com/zh-hans/pkg/brew/licenseplist/) - Shares av.db curated category or tags: cli, developer-tools, license-compliance.
- [action-validator](https://www.automicvault.com/zh-hans/pkg/brew/action-validator/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [addlicense](https://www.automicvault.com/zh-hans/pkg/brew/addlicense/) - Shares av.db curated category or tags: cli, developer-tools, license.
- [agent-browser](https://www.automicvault.com/zh-hans/pkg/brew/agent-browser/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bacon](https://www.automicvault.com/zh-hans/pkg/brew/bacon/) - Shares av.db curated category or tags: cli, developer-tools, rust.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
