Installing Terraform & Packer, The Scripted Way

Here at Peloton Tech.IO we’ve installed Terraform and Packer a few gazillion times. In order to simplify the way we go about installing Terraform and Packer we’ve put together a script to help get the job done.

There are two prerequisites to using this install script. The first is to install the jq CLI. To install jq on the Mac, just use Brew and issue the brew install jq command. On Debian, Elementary, Ubuntu, or related apt-get systems, issue the sudo apt-get install jq command. On Windows you can use Chocolately NuGet to install jqwith chocolately install jq. If you’re not using one of these operating systems you can likely still find your binary to install on the download page.