Install Terraform on an Ubuntu Server

| ubuntu | devops |

Terraform by Hashicorp is a powerful tool that you can use to manage your infrastructure as code. It is distributed as a single binary so getting it installed on Ubuntu is a breeze.

  1. Assuming you are on a "standard" computer or server. From the downloads page copy the URL for the 64-bit Linux package. At the time of writing this was: https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
  2. SSH into your ubuntu server and execute wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
  3. Unzip this file (you may need to install the unzip package with sudo apt-get install unzip)
  4. Move the file to the /usr/local/bin directory with sudo mv terraform /usr/local/bin/
You can confirm that this works by typing in terraform -version in your terminal. Your output should look something like this.
ubuntu@ip-172-26-5-139:~$ terraform -version
Terraform v0.11.7
You should now be able to execute the terraform command from anywhere and manage your infrastructure as code.

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

High on Stress

High on Stress A few days ago an interview with Joe Oestreich from Watershed popped into my Facebook feed. I, of course, clicked through, because I'm a Watershed fan boy. The podcast is the product of a guy from Minneapolis with a band, so I made a note of...

via O'DonnellWeb December 3, 2026

A(I)rt-Directed Blog Posts

Remember art-directed blog posts? The idea is to create a bespoke design for each post unique to its contents. Here’s an example from Jason Santa Maria’s site. I remember briefly trying this. (Sorry, I don’t have any links to share that are still alive; ba...

via Jim Nielsen’s Blog December 2, 2026

Something Historic Has Transpired in the American South

Cycles Hyped No More on December 2, 2026 The reason for decrepit outcomes election after election wasn’t a matter of perspective but a matter of repression. And the people have risen up en masse to tell a new story, one with profound lessons for all who fi...

via The Internet Review December 2, 2026

Generated by openring