Terraform is an open source command line tool for building, changing, and versioning in your cloud platform, it supports popular cloud providers including Amazon AWS, Google Cloud, Microsoft Azure and Clouds.
Let us start to install this tool in your Linux machine follow steps as below.
Install the unzip command if you yet to install it.
$ sudo apt-get install unzip
Download the latest version of Terraform from the link, https://releases.hashicorp.com/terraform, you are able to view all the versions of this tool including beta.
$ sudo wget https://releases.hashicorp.com/terraform/0.11.11/terraform_0.11.11_linux_amd64.zip
terraform_0.11.11_linux_amd64.zip 100%[==================>] 14.03M 24.7MB/s in 0.6s
Extract the zip file, after that, you can see the terraform as an executable file format,
$ sudo unzip terraform_0.11.1_linux_amd64.zip
Just move that file to under /usr/bin directory, then confirm terraform binary is accessible,
$sudo mv terraform /usr/bin/.
$ sudo terraform --version
Terraform v0.11.11
Comments (0)