# Install terragrunt with Homebrew, chocolatey, MacPorts, Nix, pacman, scoop, winget, zypper

Thin wrapper for Terraform e.g. for locking state. Version 1.1.0 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:terragrunt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install terragrunt
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install terragrunt
```

  Evidence: MacPorts ports tree: sysutils/terragrunt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#terragrunt
```

  Evidence: nixpkgs package indexes: pkgs/by-name/te/terragrunt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S terragrunt
```

  Evidence: Arch Linux sync databases: terragrunt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install terragrunt
```

  Evidence: openSUSE Tumbleweed package metadata: terragrunt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install terragrunt
```

  Evidence: Chocolatey community package catalog: terragrunt from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'

- Scoop (92%):

```sh
scoop install main/terragrunt
```

  Evidence: Scoop official bucket manifest trees: bucket/terragrunt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Gruntwork.Terragrunt -e
```

  Evidence: Windows Package Manager source index: Gruntwork.Terragrunt from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:terragrunt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/terragrunt>
- **Version:** 1.1.0
- **Source summary:** Thin wrapper for Terraform e.g. for locking state
- **Homepage:** <https://terragrunt.gruntwork.io/>
- **Repository:** <https://github.com/gruntwork-io/terragrunt>
- **Upstream docs:** <https://terragrunt.gruntwork.io/docs>
- **License:** MIT
- **Source archive:** <https://github.com/gruntwork-io/terragrunt/archive/refs/tags/v1.1.0.tar.gz>
- **Last updated:** 2026-07-01T10:28:40Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- terragrunt (cli)
- terragrunt (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.0
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/gruntwork-io/terragrunt
- Upstream latest detected: v1.1.0 (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

- 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


## Security Notes

No matching local secret-handling manifest was found for terragrunt. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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.hcl
## Source Database Details

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

## Other Package-Manager Records

- Nix - terragrunt: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/terragrunt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - terragrunt - 1.0.7-1: normalized package name match | Arch Linux sync databases: terragrunt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Thin wrapper for Terraform and OpenTofu for working with multiple modules | https://github.com/gruntwork-io/terragrunt
- zypper - terragrunt - 1.0.7-1.1: normalized package name match | openSUSE Tumbleweed package metadata: terragrunt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Thin wrapper for Terraform for working with multiple Terraform modules | https://github.com/gruntwork-io/terragrunt
- zypper - terragrunt-bash-completion - 1.0.7-1.1: normalized package name match | openSUSE Tumbleweed package metadata: terragrunt-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for terragrunt | https://github.com/gruntwork-io/terragrunt
- zypper - terragrunt-zsh-completion - 1.0.7-1.1: normalized package name match | openSUSE Tumbleweed package metadata: terragrunt-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for terragrunt | https://github.com/gruntwork-io/terragrunt
- MacPorts - terragrunt: normalized package name match | MacPorts ports tree: sysutils/terragrunt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - terragrunt: normalized package name match | Chocolatey community package catalog: terragrunt from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'
- Scoop - main/terragrunt: normalized package name match | Scoop official bucket manifest trees: bucket/terragrunt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Gruntwork.Terragrunt: normalized package name match | Windows Package Manager source index: Gruntwork.Terragrunt from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [terramate](https://www.automicvault.com/pkg/brew/terramate/) - Shares av.db curated category or tags: cli, developer-tools, iac, infrastructure-as-code, opentofu.
- [terrahash](https://www.automicvault.com/pkg/brew/terrahash/) - Shares av.db curated category or tags: cli, developer-tools, iac, infrastructure-as-code, terraform.
- [terrahelp](https://www.automicvault.com/pkg/brew/terrahelp/) - Shares av.db curated category or tags: cli, developer-tools, iac, infrastructure-as-code, terraform.
- [terratag](https://www.automicvault.com/pkg/brew/terratag/) - Shares av.db curated category or tags: cli, developer-tools, iac, infrastructure-as-code, terraform.
- [tfschema](https://www.automicvault.com/pkg/brew/tfschema/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [tfupdate](https://www.automicvault.com/pkg/brew/tfupdate/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [tofu-ls](https://www.automicvault.com/pkg/brew/tofu-ls/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [iam-policy-json-to-terraform](https://www.automicvault.com/pkg/brew/iam-policy-json-to-terraform/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.

## Combined YAML source

View the package source record on GitHub. [combined/terragrunt.yml](https://github.com/automic-vault/db/blob/main/combined/terragrunt.yml)


## Sources

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