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

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

## インストール

```sh
sudo av install brew:tfautomv
```

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

### macOS

- Homebrew (100%):

```sh
brew install tfautomv
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tfautomv
```

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

## パッケージ情報

- **パッケージキー:** brew:tfautomv
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tfautomv>
- **バージョン:** 0.7.0
- **ソース概要:** Generate Terraform moved blocks automatically for painless refactoring
- **ホームページ:** <https://github.com/busser/tfautomv>
- **リポジトリ:** <https://github.com/busser/tfautomv>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/busser/tfautomv/archive/refs/tags/v0.7.0.tar.gz>
- **最終更新:** 2026-07-26T00:50:38+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- tfautomv (cli)
- tfautomv (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.7.0
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/busser/tfautomv
- 検出された最新: v0.7.0 (最新)
## プロジェクトの歴史と使われ方

tfautomv is a Terraform and OpenTofu refactoring assistant that detects create/delete pairs in plans and generates `moved` blocks or `terraform state mv` commands. Its purpose is to preserve state when resources are renamed or moved in code.

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

The project started in April 2022 with design documentation, followed by a July 2022 MVP and v0.1.0 tag. The README now marks the tool stable and used in production, with maintenance mostly limited to dependency updates and bug reports.

The tool grew from generating Terraform moved blocks into supporting state move commands, cross-directory moves, OpenTofu through `--terraform-bin`, preplanned files, verbosity for unmatched resources, and ignore rules for provider quirks.

### 採用の歴史

The README documents Homebrew, a shell installer, Arch/Yay, asdf, releases, and source builds. The package input also records Homebrew and Nix availability, matching the tool's Unix-centric target audience.

### 使われ方

Users run `tfautomv` in a Terraform working directory after a pure refactor. The tool runs or reads a plan, identifies likely state-preserving moves, writes `moves.tf`, or emits shell commands for `terraform state mv` review and execution.

The official workflow recommends separating structural refactors from configuration changes, running tfautomv, applying the generated moves until the plan shows no infrastructure changes, and then making attribute changes separately.

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

tfautomv is significant to Terraform package users because it automates a formerly manual refactoring chore. It also tracks the post-Terraform-fork ecosystem by explicitly supporting OpenTofu while retaining Terraform-compatible command semantics.

### タイムライン

- 2022-04-16: First design commit
- 2022-07-14: MVP implementation commit
- 2022-07-15: v0.1.0 tag
- 2023-11-15: v0.5.4 tag
- 2024-02-13: v0.6.0 tag
- 2025-06-06: v0.7.0 tag

### Related projects

- Terraform supplies plan/state semantics and the moved-block syntax.
- OpenTofu is supported through the `--terraform-bin` flag.
- Terragrunt is discussed as a wrapper-script integration rather than a direct binary replacement.

### ソース

- Official git tags and commit history from https://github.com/busser/tfautomv
- <https://github.com/busser/tfautomv/blob/main/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

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

## ソースデータベース詳細

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

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

- Nix - tfautomv: normalized package name match | nixpkgs package indexes: pkgs/by-name/tf/tfautomv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [tfmigrate](https://pkg.so/ja/brew/tfmigrate/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [tfupdate](https://pkg.so/ja/brew/tfupdate/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [tfschema](https://pkg.so/ja/brew/tfschema/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [tfclean](https://pkg.so/ja/brew/tfclean/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, moved-blocks, terraform.
- [tfmv](https://pkg.so/ja/brew/tfmv/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, moved-blocks, terraform.
- [terragrunt](https://pkg.so/ja/brew/terragrunt/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, terraform.
- [tfenv](https://pkg.so/ja/brew/tfenv/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [terraform-docs](https://pkg.so/ja/brew/terraform-docs/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.

## Combined YAML source

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


## ソース

- 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
