pkg.soopen package index

brew / rank 6016

Install cgrep with Homebrew, pacman

Context-aware grep for source code. Version 9.2.3 via Homebrew; verified 2026-07-22. Also installable with pacman: sudo pacman -S cgrep.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cgrep

local Homebrew formula metadata

overview

Package summary

Context-aware grep for source code

Commands and aliases

  • cgrep

history

Project history and usage

CGrep is a Haskell context-aware grep for source code that searches by code, comment, literal, token kind, file type, and semantic patterns.

Project history

The official documentation frames CGrep as an extension of traditional grep for source code, adding language-aware context filters and semantic matching.

Adoption history

The project is distributed through Hackage and from source on GitHub. Official docs document cabal, stack, and source installation paths.

How it is used

CGrep is used to search source trees while limiting matches to code, comments, string literals, identifiers, native types, keywords, numbers, operators, file kinds, languages, or test/non-test code.

Why package nerds care

CGrep is interesting to package maintainers because it sits in the family of grep replacements but uses language parsing and Haskell packaging rather than plain byte or regex scanning alone.

Timeline

  • v8.0.0: Changelog notes performance improvements and expanded language/configuration support.
  • v9.2: Official docs describe faster token and semantic search, UTF-8 support, and semantic test filtering.
  • v9.2.2: Official homepage documents this release line.

Related projects

  • The official README links CGrep to Hackage for package distribution and GitHub for source development.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for cgrep. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.cgreprc~/.cgreprc/etc/cgreprc

executables

Installed executables

CommandKindExposureNote
cgrepexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version9.2.3
manager updated2026-07-22
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cgrep
Version9.2.3
Package managerHomebrew
Homepagehttps://awgn.github.io/cgrep/
Repositoryhttps://github.com/awgn/cgrep
Last updated2026-07-22T03:24:51Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

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

pacman95%

cgrep 8.1.0-152

A context-aware grep for source codes

https://awgn.github.io/cgrep/

sudo pacman -S cgrep
  • License: GPL2
  • Architecture: x86_64
  • 29 dependencies
  • normalized package name match
  • Matched by: Cgrep
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cgrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.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
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation