How to install Terraform on Debian 11

Nov 06, 2021 · 1 min read · Post a comment
How to install Terraform on Debian 11

Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.


  • Debian 11
  • sudo user

Install Terraform on Debian 11

Step 1. Let’s add the HashiCorp GPG key:

curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -

Step 2. The second step is to add the HashiCopr linux repo as well:

sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"

Step 3. Once step 1 and step 2 are done successfully update the system packages:

sudo apt-get update

Step 4. To install Terraform on Debian 11 run:

sudo apt-get install terraform

Step 5. To validate the installation and get the version run:

terraform -v


Terraform v1.0.10
on linux_amd64


This tutorial is strictly aimed to show you the installation of Terraform on Debian 11. If you have any concerns or issues while doing the steps please don’t hesitate to raise the issue down in the comment section. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on telegram.