Tech-Guides
Published in

Tech-Guides

Install terraform in Linux

Step by step guide to install terraform in different operating systems

In Linux, you can use wget and install terraform

TER_VER=`curl -s https://api.github.com/repos/hashicorp/terraform/releases/latest | grep tag_name | cut -d: -f2 | tr -d \”\,\v | awk ‘{$1=$1};1’` wget https://releases.hashicorp.com/terraform/${TER_VER}/terraform_${TER_VER}_linux_amd64.zip

Next, unzip the file

Extract the downloaded archive:

$ unzip

--

--

Technical guides on various topics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store