How to Install Terraform on macOS

This article shows you how to install or setup Terraform on a macOS.

Steps

  1. Download binary zip from HashiCorp https://www.terraform.io/downloads.html
  2. Unzip
  3. Copy binary to a place in the path such as /usr/local/bin/terraform
cp $HOME/Downloads/terraform /usr/local/bin/

Verify Install

A simple test that the binary is in the path and such is to call the version. (terraform — version)

Terraform v0.12.28

--

--

#DevOps — #AWS — #Cloud enthusiast.. Views are my own.

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