Here is how to install Terraform on Arch Linux in 2026. Tested and verified.
Install from AUR
# Using yay
yay -S terraform
# Or using paru
paru -S terraformAlternative: Direct Binary
TERRAFORM_VERSION="1.9.0"
curl -LO https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip
sudo mv terraform /usr/local/bin/
rm terraform_${TERRAFORM_VERSION}_linux_amd64.zipVerify
terraform --version
terraform -install-autocompleteFor OpenTofu (Open-Source Alternative)
yay -S opentofu
tofu --version
