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

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

## インストール

```sh
sudo av install brew:fastmod
```

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

### macOS

- Homebrew (100%):

```sh
brew install fastmod
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fastmod
```

  証拠: MacPorts ports tree: devel/fastmod/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fastmod
```

  証拠: nixpkgs package indexes: pkgs/by-name/fa/fastmod/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:fastmod
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.4.4
- **ソース概要:** Fast, partial replacement for codemod (find/replace tool for programmers)
- **ホームページ:** <https://github.com/facebookincubator/fastmod>
- **リポジトリ:** <https://github.com/facebookincubator/fastmod>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fastmod (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

fastmod is a Rust command-line tool from Facebook Incubator for fast, regex-based, interactive find-and-replace across codebases.

### プロジェクトの歴史

The project was created publicly in 2018 as a fast partial replacement for Facebook's codemod. Its README is explicit that the design target is interactive review followed by applying a regex replacement broadly.

### 採用の歴史

fastmod's adoption is concentrated among programmers doing large codebase refactors. It is primarily supported on macOS and Linux, installable with Cargo, and packaged by developer-oriented package managers.

### 使われ方

A typical invocation supplies a regex, replacement text, and files or directories to process. fastmod walks directories in parallel, respects ignore rules, shows colored diffs, and lets the user accept, reject, or edit changes.

### パッケージ好きにとっての重要性

fastmod is notable because it brings the ripgrep ecosystem's ignore and grep crates to codemod-style source editing: boring Unix CLI inputs, Rust speed, and human-reviewed patch application.

### タイムライン

- 2018: The public GitHub repository is created.
- 2020: v0.4.0 is released.
- 2023: v0.4.4 is released.

### Related projects

- fastmod is directly positioned as a partial replacement for codemod and uses Rust regex, ignore, and grep libraries.

### ソース

- <https://github.com/facebookincubator/fastmod>
- <https://github.com/facebookincubator/fastmod#readme>
- <https://api.github.com/repos/facebookincubator/fastmod/releases>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

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

- Nix - fastmod: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/fastmod/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - fastmod: normalized package name match | MacPorts ports tree: devel/fastmod/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/fastmod.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fastmod.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
