---
title: "Discussion on \"Installing Terraform on Ubuntu 22.04\" | Hashnode"
description: "Discussion on \"Installing Terraform on Ubuntu 22.04\". First add HashiCorp’s GPG key.\ncurl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -\n\n\nNow add HashiCorp’s repository to Ubuntu.\nsudo apt-add-repository \"deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main\"\n\n\n..."
url: "https://hashnode.com/posts/installing-terraform-on-ubuntu-2204/63cc29497dd94aba70e16d83"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Installing Terraform on Ubuntu 22.04](https://karenngugi.hashnode.dev/installing-terraform-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

First add HashiCorp’s GPG key. curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - Now add HashiCorp’s repository to Ubuntu. sudo apt-add-repository "deb \[arch=amd64\] https://apt.releases.hashicorp.com $(lsb\_release -cs) main" ...

Jan 21, 2023 · 1 min read · karenngugi.hashnode.dev  
Read the article

-   [#beginner](https://hashnode.com/tag/beginner)
-   [#devops](https://hashnode.com/tag/devops)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#ubuntu-2204](https://hashnode.com/tag/ubuntu-2204)
-   [#iac](https://hashnode.com/tag/iac)

## Written by

[Karen Ngugi](https://hashnode.com/@KarenNgugi)

@KarenNgugi · Nairobi, Kenya

  
[View profile](https://hashnode.com/@KarenNgugi)

Junior DevOps Engineer

Computer Science graduate who's had a taste of DevOps and wants more. This blog will serve as a journal regarding my journey into this field of delight.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
