Home > Blockchain >  brew install terragrunt: Error: terraform is already installed from hashicorp/tap
brew install terragrunt: Error: terraform is already installed from hashicorp/tap

Time:08-03

When I try to install terragrunt on macos with brew, I get the following error:

==> Installing dependencies for terragrunt: terraform
Error: terraform is already installed from hashicorp/tap!
Please `brew uninstall terraform` first."

CodePudding user response:

Since you have terraform already installed, run the below to just install terragrunt

$ brew install --ignore-dependencies terragrunt

CodePudding user response:

To avoid this error, you must unlink terraform before installing terragrunt:

brew unlink terraform && brew install terragrunt && brew link terraform

  • Related