OS info
vagrant@ubuntu-xenial:~/downloads$ cat /etc/release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
VERSION="16.04.6 LTS (Xenial Xerus)"
Download zip file
wget https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
Unzip it
unzip terraform_0.12.24_linux_amd64.zip
Export PATH
export PATH="$PATH:<Path to terraform unzip file>"
Reflect new path
source ~/.profile
Test
terraform --version
Top comments (0)