【发布时间】:2019-08-26 05:19:41
【问题描述】:
如何在 Macbook 上安装 terragrunt 0.19.x 版本?
我试过brew install terragrunt,它只下载0.18.x。
选项1:
brew install terragrunt
touch: /usr/local/Homebrew/.git/FETCH_HEAD: Permission denied
fatal: Unable to create '/usr/local/Homebrew/.git/index.lock': Permission denied
fatal: Unable to create '/usr/local/Homebrew/.git/index.lock': Permission denied
error: could not lock config file .git/config: Permission denied
==> Downloading https://homebrew.bintray.com/bottles/terragrunt-0.18.3.mojave.bottle.tar.gz
Already downloaded: /Users/rohithgundala/Library/Caches/Homebrew/downloads/f494cc7ebcfadf5e2610048e6c9f937e0151ff46cf0c226d83118e6d8ba704cc--terragrunt-0.18.3.mojave.bottle.tar.gz
==> Pouring terragrunt-0.18.3.mojave.bottle.tar.gz
???? /usr/local/Cellar/terragrunt/0.18.3: 3 files, 19.6MB
选项2:
# Install Terragrunt
RUN wget -q -O ${BIN_DIR}/terragrunt "https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux _amd64" \
&& chmod +x ${BIN_DIR}/terragrunt
输出:
bin/terragrunt: cannot execute binary file
【问题讨论】:
-
为什么这个标签是
linux?您使用的是 Linux 还是 MacOS? -
最好在apple.stackexchange.com 或superuser.com 等平台特定论坛上提问
标签: macos terraform homebrew terragrunt