# codequery を Homebrew, apt でインストール

codequery のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:codequery
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install codequery
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install codequery
```

  証拠: Debian stable package indexes: codequery from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:codequery
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.0
- **ソース概要:** Code-understanding, code-browsing or code-search tool
- **ホームページ:** <https://ruben2020.github.io/codequery/>
- **リポジトリ:** <https://github.com/ruben2020/codequery>
- **最終更新:** 2026-07-12T09:27:08Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- codequery (エイリアス)
- cqmakedb (エイリアス)
- cqsearch (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.0
## プロジェクトの歴史と使われ方

CodeQuery is a source-code indexing, browsing, and search tool that combines cscope-style call information with ctags-style symbol information and stores the result in a SQLite-backed database.

### プロジェクトの歴史

The GitHub repository dates to 2013 and the README presents CodeQuery as a cross-platform GUI plus command-line database tooling. It was built around existing source-navigation traditions: cscope, Exuberant ctags, Universal Ctags, pycscope, and starscope.

### 採用の歴史

CodeQuery spread through classic package-manager channels rather than a SaaS ecosystem: the README documents Debian and Ubuntu installation through apt, macOS installation through Homebrew, and Windows binaries through SourceForge.

### 使われ方

A typical workflow uses cscope and ctags data, processes it with cqmakedb into a CodeQuery database, then browses or queries it with the codequery GUI or searches with cqsearch. The tool supports symbols, call relationships, inheritance relationships, file lookup, grep-style search, and graph exports.

### パッケージ好きにとっての重要性

CodeQuery matters to package nerds as a packaged survivor of the pre-language-server source-navigation era. It connects long-lived Unix indexing tools, SQLite, GUI browsing, and distro packaging in a way that makes large legacy codebases searchable without adopting a full IDE.

### タイムライン

- 2013: GitHub repository created.
- 2010s: README documents Debian, Ubuntu, Homebrew, and SourceForge distribution paths.
- 2025: Repository remains active according to GitHub metadata gathered during research.
- 2026: Homebrew formula distributes CodeQuery 1.0.1.

### Related projects

- Related projects include cscope, Exuberant ctags, Universal Ctags, pycscope, starscope, vim-codequery, codequery4vscode, GNU cflow, CodeViz, and tags2uml.

### ソース

- <https://github.com/ruben2020/codequery>
- <https://ruben2020.github.io/codequery>
- <https://formulae.brew.sh/api/formula/codequery.json>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - codequery - 1.0.0+dfsg-1: normalized package name match | Debian stable package indexes: codequery from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | code-understanding, code-browsing or code-search tool | https://github.com/ruben2020/codequery
- Ubuntu apt - codequery - 0.27.0+dfsg-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: codequery from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | code-understanding, code-browsing or code-search tool | https://github.com/ruben2020/codequery


## Combined YAML source

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


## ソース

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