# Installer cgrep avec Homebrew, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cgrep pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:cgrep
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cgrep
```

  Preuve: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S cgrep
```

  Preuve: Arch Linux sync databases: cgrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:cgrep
- **Gestionnaire de paquets:** Homebrew
- **Version:** 9.2.3
- **Résumé source:** Context-aware grep for source code
- **Page d'accueil:** <https://awgn.github.io/cgrep/>
- **Dépôt:** <https://github.com/awgn/cgrep>
- **Dernière mise à jour:** 2026-07-22T03:24:51Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cgrep (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 9.2.3
## Historique du projet et usages

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

### Historique du projet

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

### Historique d'adoption

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

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://api.github.com/repos/awgn/cgrep>
- <https://github.com/awgn/cgrep>
- <https://awgn.github.io/cgrep/>
- <https://awgn.github.io/cgrep>
- <https://github.com/awgn/cgrep#readme>
- <https://formulae.brew.sh/api/formula/cgrep.json>
- <https://github.com/awgn/cgrep/blob/master/CHANGELOG.md>
- <https://github.com/awgn/cgrep/blob/master/README.md>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour cgrep. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.



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

- Unix: ./.cgreprc, ~/.cgreprc, /etc/cgreprc
## Autres enregistrements de gestionnaires de paquets

- pacman - cgrep - 8.1.0-152: normalized package name match | Arch Linux sync databases: cgrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A context-aware grep for source codes | https://awgn.github.io/cgrep/


## Combined YAML source

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


## Sources

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