
OpenTofu
Open-source infrastructure as code engine
OpenTofu is an open-source tool for building, changing, and versioning infrastructure safely. It manages popular cloud providers and custom in-house systems using declarative configuration.
Terraform by HashiCorp is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to Terraform is OpenTofu, with 31k GitHub stars. Other open-source alternatives to Terraform are Pulumi. Most Terraform alternatives here are Build & Deployment tools. None of these projects names Terraform itself, but each does the same job; its own description is shown under it.
Stars and activity updated 27 November 2026.
These projects don't call themselves a Terraform alternative, but two independent checks of their own description found they do the same main job.

Open-source infrastructure as code engine
OpenTofu is an open-source tool for building, changing, and versioning infrastructure safely. It manages popular cloud providers and custom in-house systems using declarative configuration.
“OpenTofu is an OSS tool for building, changing, and versioning infrastructure safely and efficiently.”

Open-source infrastructure as code with familiar programming languages
Pulumi provisions and manages cloud resources through programs written in TypeScript, Python, Go, Java, and other languages. A CLI deploys stacks to AWS, Azure, Google Cloud, Kubernetes, and hundreds of providers.
“Pulumi is an open-source infrastructure as code platform that helps humans and agents build and manage cloud infrastructure with real programming languages.”
Yes. 2 open-source projects can replace Terraform, for example OpenTofu and Pulumi. They do the same job as Terraform, as their own documentation describes.
OpenTofu (31k GitHub stars) is the most popular open-source alternative to Terraform on GitHub. The best choice depends on your needs: compare them side by side, for example OpenTofu vs Pulumi.
All of the 2 projects listed here are free to use under an open-source license, with no license fee: 1 permissive (such as Apache-2.0), 1 weak copyleft (such as MPL-2.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.