# Install cwb3 with Homebrew

Tools for managing and querying large text corpora with linguistic annotations. Version 3.5.0 via Homebrew; verified 2026-08-02.

## Install

```sh
sudo av install brew:cwb3
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cwb3
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:cwb3
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cwb3>
- **Version:** 3.5.0
- **Source summary:** Tools for managing and querying large text corpora with linguistic annotations
- **Homepage:** <https://cwb.sourceforge.io/>
- **Upstream docs:** <https://cwb.sourceforge.io/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/cwb/cwb/cwb-3.5/source/cwb-3.5.0-src.tar.gz>
- **Last updated:** 2026-08-02T22:24:12-04:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- cqp (cli)
- cqpcl (cli)
- cqpserver (cli)
- cwb-align (cli)
- cwb-align-decode (cli)
- cwb-align-encode (cli)
- cwb-align-show (cli)
- cwb-atoi (cli)
- cwb-compress-rdx (cli)
- cwb-config (cli)
- cwb-decode (cli)
- cwb-decode-nqrfile (cli)
- cwb-describe-corpus (cli)
- cwb-encode (cli)
- cwb-huffcode (cli)
- cwb-itoa (cli)
- cwb-lexdecode (cli)
- cwb-makeall (cli)
- cwb-s-decode (cli)
- cwb-s-encode (cli)
- cwb-scan-corpus (cli)
- cqp (alias)
- cqpcl (alias)
- cqpserver (alias)
- cwb-align (alias)
- cwb-align-decode (alias)
- cwb-align-encode (alias)
- cwb-align-show (alias)
- cwb-atoi (alias)
- cwb-compress-rdx (alias)
- cwb-config (alias)
- cwb-decode (alias)
- cwb-decode-nqrfile (alias)
- cwb-describe-corpus (alias)
- cwb-encode (alias)
- cwb-huffcode (alias)
- cwb-itoa (alias)
- cwb-lexdecode (alias)
- cwb-makeall (alias)
- cwb-s-decode (alias)
- cwb-s-encode (alias)
- cwb-scan-corpus (alias)

## Dependencies

- gettext
- glib
- pcre2
- readline

## Build dependencies

- pkgconf

## Uses from macOS

- ncurses

## Install behavior

- Post-install hook: not defined
- Caveats: CWB default registry directory: $HOMEBREW_PREFIX/share/cwb/registry
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 3.5.0
- Package-manager updated: 2026-08-02
- Local data: ok
- Upstream repository: https://cwb.sourceforge.io/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

The IMS Open Corpus Workbench is an open-source suite for indexing, managing, and querying large linguistically annotated text corpora, centered on the CQP query processor.

### Project history

The official site says the first official open-source release of the Corpus Workbench was version 3.0 and that version 3.5 is the current stable release. The SourceForge project was registered on February 18, 2005 and continues to host code, files, and project activity.

### Adoption history

CWB is adopted in corpus-linguistics and language-research settings where large annotated corpora need compact indexes, efficient token and annotation search, and command-line or backend access for scripts and web interfaces.

### How it is used

Users encode corpora with CWB command-line tools, query them interactively or programmatically with CQP, and use the official manuals for the CQP language, corpus encoding, sample corpora, and related tooling.

### Why package nerds care

As a package, cwb3 is a dense research-tool bundle: it ships many small executables, a domain-specific query language, and long-lived data formats that matter to reproducible corpus analysis.

### Timeline

- 2005: SourceForge project registration.
- Version 3.0: First official open-source CWB release.
- Version 3.5: Current stable CWB release on the official site.
- 2026: SourceForge project activity remains current.

### Related projects

- Related official projects include CQPweb, CWB/Perl, the CQi interface, and the CQP query language.

### Sources

- <https://cwb.sourceforge.io/>
- <https://cwb.sourceforge.io/documentation.php>
- <https://sourceforge.net/projects/cwb/>
- <https://sourceforge.net/p/cwb/code/>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

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


## Related links

- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [glib](https://pkg.so/brew/glib/) - Runtime dependency declared by Homebrew.
- [pcre2](https://pkg.so/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/brew/gettext/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/brew/pkgconf/) - Build dependency declared by Homebrew.
- [z3](https://pkg.so/brew/z3/) - Shares pkgdb curated category or tags: cli, science.
- [numpy](https://pkg.so/brew/numpy/) - Shares pkgdb curated category or tags: cli, science.
- [gts](https://pkg.so/brew/gts/) - Shares pkgdb curated category or tags: cli, science.
- [jupyterlab](https://pkg.so/brew/jupyterlab/) - Shares pkgdb curated category or tags: cli, science.
- [proj](https://pkg.so/brew/proj/) - Shares pkgdb curated category or tags: cli, science.
- [fftw](https://pkg.so/brew/fftw/) - Shares pkgdb curated category or tags: cli, science.
- [liblinear](https://pkg.so/brew/liblinear/) - Shares pkgdb curated category or tags: cli, science.
- [pmix](https://pkg.so/brew/pmix/) - Shares pkgdb curated category or tags: cli, science.
- [gabedit](https://pkg.so/brew/gabedit/) - Local package facts share a topical domain. Shared terms: cli, computational, gettext, glib, science.
- [genometools](https://pkg.so/brew/genometools/) - Local package facts share a topical domain. Shared terms: cli, config, gettext, glib, science.

## Combined YAML source

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


## Sources

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