Table of Contents generated with DocToc
go install github.com/containerscrew/tftools
brew tap containerscrew/tftools https://github.com/containerscrew/tftools
brew install tftools
curl --proto '=https' --tlsv1.2 -sSfL https://raw.githubusercontent.com/containerscrew/tftools/main/scripts/install.sh | sh
curl --proto '=https' --tlsv1.2 -sSfL https://raw.githubusercontent.com/containerscrew/tftools/main/scripts/install.sh | sh -s -- -v "v0.8.0"
You will find apk, rpm and deb packages in releases
For example, a deb package:
TFTOOLS_LATEST_VERSION=$(curl -s https://api.github.com/repos/containerscrew/tftools/releases/latest | jq -r ".name")
TFTOOLS_CLI_ARCH=amd64
if [ "$(uname -m)" = "aarch64" ]; then TFTOOLS_CLI_ARCH=arm64; fi
curl -L --fail --remote-name-all https://github.com/containerscrew/tftools/releases/download/${TFTOOLS_LATEST_VERSION}/tftools-linux-${TFTOOLS_CLI_ARCH}.deb
sudo dpkg -i tftools-linux-${TFTOOLS_CLI_ARCH}.deb
rm dpkg -i tftools-linux-${TFTOOLS_CLI_ARCH}.deb
OS | ARM64 | AMD64 |
---|---|---|
Mac | √ | √ |
Linux | √ | √ |
tftools version
brew update
brew upgrade containerscrew/tftools/tftools
curl --proto '=https' --tlsv1.2 -sSfL https://raw.githubusercontent.com/containerscrew/tftools/main/scripts/install.sh | sh