From ad5dccae65a1508497dd638c7b511099296edaf3 Mon Sep 17 00:00:00 2001 From: Manuel Vogel Date: Thu, 25 Feb 2021 17:03:46 +0100 Subject: [PATCH] docs: updates installs for macOS and ubuntu (#175) --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 03fcf00a9..31851120d 100644 --- a/README.md +++ b/README.md @@ -16,18 +16,17 @@ ##### MacOS ```bash -brew tap liamg/tfsec brew install pre-commit gawk terraform-docs tflint tfsec coreutils ``` ##### Ubuntu ```bash -sudo apt install python3-pip gawk &&\ +sudo apt install python3-pip gawk unzip &&\ pip3 install pre-commit -curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases/latest | grep -o -E "https://.+?-linux-amd64")" > terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/ +curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases/latest | grep -o -E "https://.+?-linux-amd64.tar.gz")" > terraform-docs.tgz && tar xzf terraform-docs.tgz && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/ curl -L "$(curl -s https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip && sudo mv tflint /usr/bin/ -env GO111MODULE=on go get -u github.com/liamg/tfsec/cmd/tfsec +env GO111MODULE=on go get -u github.com/tfsec/tfsec/cmd/tfsec ``` ### 2. Install the pre-commit hook globally