# terratag を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:terratag
```

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

### macOS

- Homebrew (100%):

```sh
brew install terratag
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:terratag
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/terratag>
- **バージョン:** 0.7.6
- **ソース概要:** CLI to automate tagging for AWS, Azure & GCP resources in Terraform
- **ホームページ:** <https://www.terratag.io/>
- **リポジトリ:** <https://github.com/env0/terratag>
- **上流ドキュメント:** <https://www.terratag.io/>
- **ライセンス:** MPL-2.0
- **ソースアーカイブ:** <https://github.com/env0/terratag/archive/refs/tags/v0.7.6.tar.gz>
- **最終更新:** 2026-07-26T00:50:37+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

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

Terratag is env0's CLI for applying tags or labels across Terraform, Terragrunt, and OpenTofu infrastructure files. Its official site and README frame the tool around retroactive, cross-cloud tagging for AWS, GCP, and Azure resources.

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

Terratag grew out of the practical problem that cloud cost, ownership, and governance tags are easy to miss when infrastructure code is already spread across modules and providers. The project is presented as part of the env0 platform, but the CLI remains an independently installable open-source tool.

### 採用の歴史

The adoption surface is intentionally package-manager oriented: the official usage path starts with Homebrew or a release binary, then runs Terraform or OpenTofu initialization before rewriting IaC files with generated tag blocks. The GitHub page lists many releases, indicating an actively versioned CLI rather than a one-off script.

### 使われ方

Package-manager users install Terratag when they need a local, repeatable way to normalize tags in Terraform-family repositories. It is especially relevant in audits, cost-allocation cleanups, and env0 workflows where tags such as environment or project identifiers must be applied consistently.

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

Terratag matters to package nerds because it packages a governance chore as a normal CLI: install, init providers, run against a directory, and review generated Terraform files. It is narrower than a full IaC scanner, but useful when tagging policy is the specific problem.

### タイムライン

- 2020: Public Terratag project appears in the env0 ecosystem.
- 2025: GitHub page lists v0.7.6 as latest release on December 17, 2025.
- 2026: Official README documents OpenTofu 1.x and Terraform 0.12 through 1.x prerequisites.

### Related projects

- Terratag is related to Terraform, Terragrunt, OpenTofu, cloud tagging policy, and env0 environment-management workflows.

### ソース

- <https://github.com/env0/terratag official README, prerequisites, and examples.>
- <https://www.terratag.io/ official site describing env0 ownership, Homebrew installation, and cross-cloud tagging usage.>
- source_facts.package-manager lists Homebrew packaging.


## セキュリティノート

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:** terratag
- **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


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure 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.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [terragrunt](https://pkg.so/ja/brew/terragrunt/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [tenv](https://pkg.so/ja/brew/tenv/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform, terragrunt.
- [terramate](https://pkg.so/ja/brew/terramate/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [iam-policy-json-to-terraform](https://pkg.so/ja/brew/iam-policy-json-to-terraform/) - Shares pkgdb curated category or tags: aws, cli, developer-tools, terraform.
- [terragrunt-atlantis-config](https://pkg.so/ja/brew/terragrunt-atlantis-config/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform, terragrunt.
- [terrahash](https://pkg.so/ja/brew/terrahash/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [terrahelp](https://pkg.so/ja/brew/terrahelp/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [tfenv](https://pkg.so/ja/brew/tfenv/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform.

## Combined YAML source

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