# tgenv を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:tgenv
```

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

### macOS

- Homebrew (100%):

```sh
brew install tgenv
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:tgenv
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tgenv>
- **バージョン:** 1.3.0
- **ソース概要:** Terragrunt version manager inspired by tfenv
- **ホームページ:** <https://github.com/tgenv/tgenv>
- **リポジトリ:** <https://github.com/tgenv/tgenv>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/tgenv/tgenv/archive/refs/tags/v1.3.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## macOS 提供ライブラリ

- unzip

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.3.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/tgenv/tgenv
- 検出された最新: v1.3.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

TGEnv is a Terragrunt version manager inspired by tfenv. Its README describes installing, switching, and managing multiple Terragrunt versions from one shell environment.

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

The current project documents itself as a fork of cunymatthieu/tgenv. Its installation docs describe a shell-based tool distributed as a Git repository, exposed through `~/.tgenv/bin`, with Homebrew support on macOS and Linux.

The documentation centers on reproducible per-project Terragrunt selection through `.terragrunt-version`, mirroring the version-file workflow familiar from tfenv and other language/runtime managers.

### 採用の歴史

The README points to dedicated documentation for installation, usage, the `.terragrunt-version` file, environment variables, architecture, and contribution. The input metadata records Homebrew packaging.

### 使われ方

The normal workflow is to install TGEnv, then run commands such as `tgenv install latest` and `tgenv use latest`. The docs say `.terragrunt-version` can pin a project to a literal version, `latest`, or a regex-based latest constraint.

When a `.terragrunt-version` file is present, TGEnv resolves it by walking up from the current directory, then falling back to the user's home directory and the global `~/.tgenv/version` file. The docs recommend committing `.terragrunt-version` so new contributors install the correct Terragrunt version automatically.

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

tgenv is part of the version-manager family around infrastructure CLIs. For package-manager users, it keeps the Homebrew-installed manager stable while project repositories declare the Terragrunt version they need.

### タイムライン

- 2024-01-05: The GitHub releases page lists tgenv v1.1.0.
- 2025-11-18: The GitHub releases page lists tgenv v1.3.0.
- 2026: The input metadata records tgenv as a Homebrew package.

### Related projects

- TGEnv is explicitly inspired by tfenv and manages releases of Terragrunt.

### ソース

- <https://github.com/tgenv/tgenv README>
- <https://github.com/tgenv/tgenv/blob/main/docs/installation.md>
- <https://github.com/tgenv/tgenv/blob/main/docs/terragrunt-version-file.md>
- <https://github.com/tgenv/tgenv/releases>
- source_facts.package-manager


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .terragrunt-version
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tgenv
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** tenv, terragrunt
- **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.
- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [tfenv](https://pkg.so/ja/brew/tfenv/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, version-manager.
- [tenv](https://pkg.so/ja/brew/tenv/) - Shares pkgdb curated category or tags: cli, developer-tools, terragrunt, version-manager.
- [tofuenv](https://pkg.so/ja/brew/tofuenv/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, version-manager.
- [rbenv](https://pkg.so/ja/brew/rbenv/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [asdf](https://pkg.so/ja/brew/asdf/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [terraform-docs](https://pkg.so/ja/brew/terraform-docs/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code.
- [xcodes](https://pkg.so/ja/brew/xcodes/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [fnm](https://pkg.so/ja/brew/fnm/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [tfupdate](https://pkg.so/ja/brew/tfupdate/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, infrastructure.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
