# 使用 Homebrew 安装 carrot2

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

## 安装

```sh
sudo av install brew:carrot2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install carrot2
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:carrot2
- **软件包管理器:** Homebrew
- **版本:** 4.8.6
- **来源摘要:** Search results clustering engine
- **主页:** <https://search.carrot2.org/>
- **仓库:** <https://github.com/carrot2/carrot2>
- **最后更新:** 2026-06-22T14:02:59-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- carrot2 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Carrot2 is a Java text-clustering library and distribution. Its README says it discovers groups of related documents and labels them with short key terms or phrases, commonly from search result titles and snippets.

### 项目历史

The public GitHub repository was created in 2011 under the carrot2 organization. Official documentation for the latest release is published at carrot2.github.io, and the current latest-docs redirect points to the 4.8.6 documentation tree.

### 采用历史

Carrot2 is primarily a library and distribution rather than a single-purpose CLI. The README documents binary releases on GitHub, a bundled HTTP/JSON Document Clustering Server for non-Java integration, and integration paths through Apache Solr and Elasticsearch plugins.

### 使用方式

Developers use Carrot2 to cluster text or search results, either through Java APIs, release-bundled API documentation, the DCS HTTP/JSON service, or search-platform integrations. The Homebrew package exposes a carrot2 executable for the packaged distribution.

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

Carrot2 is interesting in package-manager history because it packages a research-flavored information-retrieval component as a usable distribution: a Java library, local server, documentation bundle, and integrations for search stacks.

### 时间线

- 2011: Public GitHub repository created.
- 2020s: Latest-release documentation is served from carrot2.github.io.
- 2020s: README documents GitHub binary releases and the DCS HTTP/JSON service.

### Related projects

- The README names Apache Solr and Elasticsearch integrations.
- The distribution includes the DCS service for integration from non-Java languages.

### 来源

- <https://api.github.com/repos/carrot2/carrot2>
- <https://github.com/carrot2/carrot2>
- <https://search.carrot2.org/>
- <https://github.com/carrot2/carrot2/wiki>
- <https://carrot2.github.io/release/latest>
- <https://formulae.brew.sh/api/formula/carrot2.json>


## 安全说明

formula declares a Homebrew service. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service
- infrastructure mutation or orchestration signal


## Combined YAML source

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


## 来源

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