macOS
brew install combylocal Homebrew formula metadata
brew
Tool for changing code across many languages. Version 1.8.1 via Homebrew; verified from local package data.
install
brew install combylocal Homebrew formula metadata
nix profile install nixpkgs#combynixpkgs package indexes · comby · source: raw.githubusercontent.com
overview
Tool for changing code across many languages
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
comby | cli | global executable |
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.
https://github.com/comby-tools/comby
install metadata
| Package key | brew:comby |
|---|---|
| Version | 1.8.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/comby |
| Homepage | https://comby.dev |
| Repository | https://github.com/comby-tools/comby |
| Upstream docs | https://comby.dev/docs/basic-usage |
| License | Apache-2.0 |
| Source archive | https://github.com/comby-tools/comby/archive/refs/tags/1.8.1.tar.gz |
| Dependencies | gmp, libev, pcre |
| Build dependencies | autoconf, gmp, ocaml@4, opam, pkgconf |
| Uses from macOS | m4, sqlite, unzip |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
comby
nix profile install nixpkgs#combysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.