Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, MacPorts, Nix, pacman, zypper, scoop, winget 安装 terragrunt

查看 terragrunt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install terragrunt

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install terragrunt

MacPorts ports tree · sysutils/terragrunt/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#terragrunt

nixpkgs package indexes · pkgs/by-name/te/terragrunt/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S terragrunt

Arch Linux sync databases · terragrunt · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install terragrunt

openSUSE Tumbleweed package metadata · terragrunt · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install terragrunt

Chocolatey community package catalog · terragrunt · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/terragrunt

Scoop official bucket manifest trees · bucket/terragrunt.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Gruntwork.Terragrunt -e

Windows Package Manager source index · Gruntwork.Terragrunt · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Thin wrapper for Terraform e.g. for locking state

命令和别名

  • terragrunt

历史

项目历史与用法

Terragrunt is Gruntwork's long-running orchestration layer for scaling Terraform and OpenTofu infrastructure-as-code projects.

项目历史

Terragrunt's public GitHub repository was created in May 2016. The project began as a thin wrapper around Terraform, but its current README describes it more broadly as a flexible orchestration tool that lets OpenTofu and Terraform infrastructure scale.

The official documentation and README place Terragrunt around the terragrunt.hcl configuration file, where users define reusable inputs, dependencies, includes, and execution behavior around otherwise native Terraform or OpenTofu code. Over time, that made the CLI a common companion for teams splitting infrastructure into many small units rather than one large state and root module.

Gruntwork's Road to Terragrunt 1.0 posts describe the project as having remained pre-1.0 for nearly eight years, then moving toward a stable command-line interface and file format. The same series introduced or stabilized larger-scale features such as Stacks, feature flags, run reports, a runner pool, and a redesigned documentation site before the 1.0 milestone.

采用历史

Terragrunt became a package-manager staple because it sits directly in day-to-day Terraform workflows: developers install the CLI, keep terragrunt.hcl files beside infrastructure code, and call Terragrunt from local shells and CI pipelines. The input metadata shows packages across Homebrew, Chocolatey, MacPorts, Nix, Arch, Scoop, winget, and zypper.

Official repository metadata showed thousands of stars and more than a thousand forks by July 2026. Gruntwork's 1.0 release writing also frames the release as tested with real-world platform teams and intended to stabilize behavior for the existing community.

使用方式

Common usage is to run Terraform or OpenTofu operations through terragrunt so shared configuration, dependency ordering, remote-state conventions, and multi-unit execution are handled consistently.

In package-nerd workflows, Terragrunt is often pinned or installed alongside Terraform or OpenTofu through system package managers, dev shells, CI images, and version managers because it participates in both local commands and automated infrastructure deployment.

为什么软件包爱好者会关心

Terragrunt is one of the more significant Terraform-adjacent packages in Homebrew because it is not just a helper script: it is a cross-platform Go CLI with its own configuration language conventions, release stream, compatibility expectations, and surrounding ecosystem of docs and package-manager formulas.

Its 1.0 work is especially relevant to package maintainers because the official goal was to stabilize the CLI and file format, reducing churn for users who install Terragrunt from operating-system package repositories.

时间线

  • 2016: Public Terragrunt repository created under gruntwork-io.
  • 2024: Gruntwork announced the Road to Terragrunt 1.0 and described a plan to stabilize CLI and file-format behavior.
  • 2025: Terragrunt Stacks reached general availability in the v0.78.0 period according to Gruntwork's official Stacks update.
  • 2026: Terragrunt 1.0 shipped after release-candidate testing and community feedback.

Related projects

  • Terraform and OpenTofu are the IaC engines Terragrunt orchestrates.
  • Gruntwork's broader infrastructure tooling and commercial support ecosystem surround the project.
  • Terramate and terragrunt-atlantis-config occupy nearby Terraform orchestration and automation niches.

来源

  • Docs: https://terragrunt.gruntwork.io/docs
  • Input package metadata: source_facts.package-manager
  • README: https://github.com/gruntwork-io/terragrunt#readme
  • Repository metadata: https://api.github.com/repos/gruntwork-io/terragrunt
  • Road to 1.0: https://www.gruntwork.io/blog/the-road-to-terragrunt-1-0
  • Stacks update: https://www.gruntwork.io/blog/the-road-to-1-0-terragrunt-stacks-feature-complete
  • Terragrunt 1.0 release: https://www.gruntwork.io/blog/terragrunt-1-0-released

安全态势

尚未找到受保护工具覆盖

没有找到 terragrunt 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
terragrunt.hcl

可执行文件

已安装的可执行文件

命令类型暴露范围备注
terragruntcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本1.1.1
管理器更新时间2026-07-14
本地数据OK
上游当前
检测到的最新版本v1.1.1

https://github.com/gruntwork-io/terragrunt

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:terragrunt
版本1.1.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/terragrunt
主页https://terragrunt.gruntwork.io/
仓库https://github.com/gruntwork-io/terragrunt
上游文档https://terragrunt.gruntwork.io/docs
许可证MIT
源码归档https://github.com/gruntwork-io/terragrunt/archive/refs/tags/v1.1.1.tar.gz
最后更新2026-07-14T16:16:30Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterragrunt
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • tenv
  • tgenv
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

terragrunt

nix profile install nixpkgs#terragrunt
  • normalized package name match
  • 匹配方式:Terragrunt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terragrunt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

terragrunt 1.0.7-1

Thin wrapper for Terraform and OpenTofu for working with multiple modules

https://github.com/gruntwork-io/terragrunt

sudo pacman -S terragrunt
  • License: MIT
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Terragrunt
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: terragrunt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

terragrunt 1.0.7-1.1

Thin wrapper for Terraform for working with multiple Terraform modules

https://github.com/gruntwork-io/terragrunt

sudo zypper install terragrunt
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: terragrunt
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Terragrunt
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: terragrunt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

terragrunt-bash-completion 1.0.7-1.1

Bash Completion for terragrunt

https://github.com/gruntwork-io/terragrunt

sudo zypper install terragrunt-bash-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: terragrunt
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Terragrunt
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: terragrunt-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

terragrunt-zsh-completion 1.0.7-1.1

Zsh Completion for terragrunt

https://github.com/gruntwork-io/terragrunt

sudo zypper install terragrunt-zsh-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: terragrunt
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Terragrunt
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: terragrunt-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

terragrunt

sudo port install terragrunt
  • normalized package name match
  • 匹配方式:Terragrunt
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/terragrunt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

terragrunt

choco install terragrunt
  • normalized package name match
  • 匹配方式:Terragrunt
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: terragrunt from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'
Scoop95%

main/terragrunt

scoop install main/terragrunt
  • normalized package name match
  • 匹配方式:Terragrunt
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/terragrunt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Gruntwork.Terragrunt

winget install --id Gruntwork.Terragrunt -e
  • normalized package name match
  • 匹配方式:Terragrunt
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Gruntwork.Terragrunt from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment