Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu 22.04 - Install OpenTofu


curl -s -o /tmp/ \
  && sudo bash /tmp/ \
  && rm /tmp/ \
  && sudo apt install tofu -y

This worked on Ubuntu 20.04 as well and installed OpenTofu 1.6.1 at the time of writing this note.


Last updated: 2nd February 2024
First published: 16th November 2023