Command-line tool
opentofu
brew/opentofu
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Drop-in replacement for Terraform. Infrastructure as Code Tool
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id OpenTofu.Tofu -e scoop install opentofu
macOS
brew install opentofu
Linux
brew install opentofu
Initialize a new or existing OpenTofu configuration
tofu init
Verify that the configuration files are syntactically valid
tofu validate
Format configuration according to OpenTofu language style conventions
tofu fmt
Related command-line tools
- tofuenv
OpenTofu version manager inspired by tfenv - tenv
OpenTofu / Terraform / Terragrunt / Terramate / Atmos version manager cli golang terraform terragrunt opentofu… - tfschema
Schema inspector for Terraform/OpenTofu providers - tfmigrate
Terraform/OpenTofu state migration tool for GitOps - HashiCorp Terraform
Create and deploy infrastructure as code to cloud providers. hashicorp terraform - tfenv
Terraform version manager inspired by rbenv - terragrunt
Thin wrapper for Terraform e.g. for locking state terragrunt terraform infrastructure as code iac wrapper - tgenv
Terragrunt version manager inspired by tfenv
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents