# comby を Homebrew, Nix でインストール

comby のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install comby
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:comby
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.8.1
- **ソース概要:** Tool for changing code across many languages
- **ホームページ:** <https://comby.dev>
- **リポジトリ:** <https://github.com/comby-tools/comby>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- comby (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.8.1
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

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


## Combined YAML source

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


## ソース

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