# Install carrot2 with Homebrew

Search results clustering engine. Version 4.8.6 via Homebrew; verified 2026-06-22.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install carrot2
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:carrot2
- **Package manager:** Homebrew
- **Version:** 4.8.6
- **Source summary:** Search results clustering engine
- **Homepage:** <https://search.carrot2.org/>
- **Repository:** <https://github.com/carrot2/carrot2>
- **Last updated:** 2026-06-22T14:02:59-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- carrot2 (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.8.6
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** orange / medium
- 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)


## Sources

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