Automic VaultAutomic Vault

brew

Install codequery with Homebrew, apt

Code-understanding, code-browsing or code-search tool. Version 1.0.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install codequery

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install codequery

Debian stable package indexes · codequery · source: deb.debian.org

overview

Package summary

Code-understanding, code-browsing or code-search tool

Commands and aliases

  • codequery
  • cqmakedb
  • cqsearch

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
codequerycliglobal executable
cqmakedbcliglobal executable
cqsearchcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.0.1
manager updated
local dataok
upstreamcurrent
latest detectedv1.0.1

https://github.com/ruben2020/codequery

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:codequery
Version1.0.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/codequery
Homepagehttps://ruben2020.github.io/codequery/
Repositoryhttps://github.com/ruben2020/codequery
Upstream docshttps://github.com/ruben2020/codequery#readme
LicenseMPL-2.0
Source archivehttps://github.com/ruben2020/codequery/archive/refs/tags/v1.0.1.tar.gz
Dependenciesqt5compat, qtbase, sqlite
Build dependenciescmake, qttools
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecodequery
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

codequery 1.0.0+dfsg-1

code-understanding, code-browsing or code-search tool

https://github.com/ruben2020/codequery

sudo apt install codequery
  • Section: devel
  • Architecture: amd64
  • 13 dependencies
  • normalized package name match
  • Matched by: Codequery
Debian stable package indexes · deb.debian.org · Debian stable package indexes: codequery from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

codequery 0.27.0+dfsg-1build2

code-understanding, code-browsing or code-search tool

https://github.com/ruben2020/codequery

sudo apt install codequery
  • Section: universe/devel
  • Architecture: amd64
  • 13 dependencies
  • normalized package name match
  • Matched by: Codequery
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: codequery from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment