Loading

Quipoin Menu

Learn • Practice • Grow

terraform / Installing Terraform
tutorial

Installing Terraform

To start using Terraform, you need to install it on your local machine. Terraform is a single binary, making installation simple.

Installing on Linux

Download the latest version and install:
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install terraform

Installing on macOS

Using Homebrew:
brew tap hashicorp/tap
brew install hashicorp/tap/terraform

Installing on Windows

Using Chocolatey:
choco install terraform
Or download the binary from terraform downloads and add it to PATH.

Verifying Installation

Open a terminal and run:
terraform --version
You should see the version number and a list of available commands.

Enabling Shell Auto‑Completion

To autocomplete Terraform commands, run:
terraform -install-autocomplete


Two Minute Drill
  • Install Terraform using package managers (apt, brew, chocolatey) or direct binary.
  • Verify with terraform --version.
  • Enable auto‑completion with terraform -install-autocomplete.
  • Terraform is a single binary – no dependencies needed.

Need more clarification?

Drop us an email at career@quipoinfotech.com