# Install terratag with Homebrew

CLI to automate tagging for AWS, Azure & GCP resources in Terraform. Version 0.7.6 via Homebrew; verified 2026-07-26.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install terratag
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:terratag
- **Package manager:** Homebrew
- **Version:** 0.7.6
- **Source summary:** CLI to automate tagging for AWS, Azure & GCP resources in Terraform
- **Homepage:** <https://www.terratag.io/>
- **Repository:** <https://github.com/env0/terratag>
- **Last updated:** 2026-07-26T00:50:37+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- terratag (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.7.6
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

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


## Sources

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