# 使用 Homebrew 安装 licensor

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install licensor
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:licensor
- **软件包管理器:** Homebrew
- **版本:** 2.1.0
- **来源摘要:** Write licenses to stdout
- **主页:** <https://github.com/raftario/licensor>
- **仓库:** <https://github.com/raftario/licensor>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- licensor (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.1.0
## 项目历史与用法

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
