# Installer comby avec Homebrew, Nix

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

## installation

```sh
sudo av install brew:comby
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install comby
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#comby
```

  Preuve: nixpkgs package indexes: comby from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## Faits du paquet

- **Clé du paquet:** brew:comby
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/comby>
- **Version:** 1.8.1
- **Résumé source:** Tool for changing code across many languages
- **Page d'accueil:** <https://comby.dev>
- **Dépôt:** <https://github.com/comby-tools/comby>
- **Docs amont:** <https://comby.dev>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/comby-tools/comby/archive/refs/tags/1.8.1.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- comby (cli)
- comby (alias)

## Dépendances

- gmp
- libev
- pcre

## Dépendances de compilation

- autoconf
- gmp
- ocaml@4
- opam
- pkgconf

## Bibliothèques fournies par macOS

- m4
- sqlite
- unzip

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.8.1
- données locales: OK
- dépôt amont: https://github.com/comby-tools/comby
- dernière version détectée: 1.8.1 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

Comby is a structural search-and-replace tool for source code. It occupies the space between regex-based text replacement and full language-specific refactoring engines.

### Historique du projet

Comby's documentation presents the core idea as lightweight matching of syntactic structures such as balanced delimiters, strings, and comments across many languages. The README frames it as a practical alternative when regular expressions become fragile for nested code constructs.

### Historique d'adoption

The official README documents Homebrew installation on macOS, binaries for Ubuntu-like Linux systems, Docker images, Windows use through WSL, and source builds through OCaml/opam. The supplied package-manager metadata lists Homebrew and Nix, while the upstream distribution story emphasizes prebuilt binaries and containers.

### Modes d'utilisation

Users write templates with holes such as `:[condition]` to match code structures and replacements that preserve or transform matched parts. Comby is commonly used for large mechanical code changes, interactive review of rewrites, and language-aware searches where plain `sed` or regexes are too coarse.

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

Comby matters to package nerds because it packages a source-to-source transformation engine as a single CLI spanning many languages. Its OCaml implementation, PCRE linkage, binary distribution, Docker image, and Homebrew/Nix formulas make it a useful case study in shipping a specialized developer tool beyond one language ecosystem.

### Chronologie

- 2019: Public Comby materials and README examples emphasized structural matching compared with regex approaches.
- 2020: The Comby website and documentation moved into a refreshed Docusaurus site.
- 2022: Comby blog posts documented experiments with type information for safer rewrites.

### Related projects

- Comby is related to `sed`, regular-expression search tools, language-server and code-intelligence workflows, Sourcegraph-style code search, and language-specific refactoring engines.

### Sources

- <https://comby.dev/docs/overview>
- <https://github.com/comby-tools/comby>
- <https://raw.githubusercontent.com/comby-tools/comby/master/README.md>
- <https://comby.dev/blog/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** comby
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Nix - comby: normalized package name match | nixpkgs package indexes: comby from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pcre](https://pkg.so/fr/brew/pcre/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/fr/brew/autoconf/) - Build dependency declared by Homebrew.
- [opam](https://pkg.so/fr/brew/opam/) - Build dependency declared by Homebrew.
- [srgn](https://pkg.so/fr/brew/srgn/) - Shares pkgdb curated category or tags: cli, code-transformation, developer-tools, refactoring.
- [ripgrep](https://pkg.so/fr/brew/ripgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [ast-grep](https://pkg.so/fr/brew/ast-grep/) - Shares pkgdb curated category or tags: cli, code-search, developer-tools, multi-language.
- [sk](https://pkg.so/fr/brew/sk/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [ripgrep-all](https://pkg.so/fr/brew/ripgrep-all/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [ddgr](https://pkg.so/fr/brew/ddgr/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [krep](https://pkg.so/fr/brew/krep/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [sift](https://pkg.so/fr/brew/sift/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [cgrep](https://pkg.so/fr/brew/cgrep/) - Local package facts share a topical domain. Shared terms: cli, code, code-search, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/comby.yml](https://github.com/mxcl/pkgdb/blob/main/combined/comby.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
- external package-manager database matches
- cross-ecosystem install command graph
