# OpenTofu

> Open source infrastructure as code, a community-driven fork of Terraform

Source: https://talira.ai/catalog/opentofu-1ntqfn2x
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [devops / infrastructure as code](https://talira.ai/categories/devops/infrastructure-as-code), [cloud / provisioning](https://talira.ai/categories/cloud/provisioning)
- Platforms: macos, linux, windows, cli, docker[^5]
- Licence: MPL-2.0[^3]
- Pricing: Free and open source[^3][^4]
- Free tier: yes[^3][^4]
- Self-hostable: yes[^5]
- Plugins: yes[^7]
- MCP server: yes[^8]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^8]
- Backed by: [Linux Foundation](https://talira.ai/orgs/linux-foundation.md)
- Forked from [Terraform](https://talira.ai/catalog/terraform-zdejdqmx.md) in 2023. HashiCorp switched Terraform's licence from the MPL to the Business Source License v1.1 on 10 Aug 2023; with no response by 25 Aug to the community's request to switch back, they forked it to keep it truly open source (OpenTofu manifesto)

OpenTofu is a community-driven, Linux Foundation-stewarded fork of [Terraform](https://talira.ai/catalog/terraform-zdejdqmx.md), made after HashiCorp moved Terraform to the Business Source License in 2023, and meant as a drop-in replacement that keeps existing Terraform configurations and workflows working. It has the same write, plan and apply workflow and state file, works with Terraform providers through its own public registry, and is licensed MPL-2.0. It has since added features of its own, such as state encryption.

## Links

- Website: https://opentofu.org
- GitHub: https://github.com/opentofu/opentofu
- Docs: https://opentofu.org/docs/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/opentofu>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/opentofu>[^2]

## Problems it solves

- infrastructure as code tool with an open source licence after the Terraform licence change
- our legal team won't sign off on the Business Source License that Terraform now uses
- a drop-in replacement for Terraform that keeps my existing .tf files and state working
- switch away from Terraform without rewriting all our modules
- an infrastructure as code tool run by a foundation rather than a single vendor
- we build a product on top of Terraform and the new licence could stop us selling it
- encrypt the state file because it holds secrets in plain text
- describe my cloud servers, networks and DNS in versioned config files and preview changes before applying
- keep using the Terraform providers I already rely on with an open source CLI
- manage AWS, Azure and Google Cloud resources from one open source tool

## Features

- drop-in replacement for Terraform
- plan and apply workflow
- public OpenTofu Registry of providers and modules
- state encryption
- works with providers written with the Terraform Plugin SDK
- migration guides from Terraform

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.82 out of 1.
Signals: maintenance 1.00, adoption 0.90, momentum 0.88, community 1.00, backing 0.30, extensibility 0.60.

- last commit 10 days ago
- 221 commits in the last 90 days
- latest release v1.13.9 18 days ago
- 30.9k GitHub stars
- 2367 contributors
- backed by Linux Foundation
- has a plugin system
- has an MCP server for agents

## Alternatives

- [Terraform](https://talira.ai/catalog/terraform-zdejdqmx.md): Infrastructure as code tool for building, changing and versioning cloud infrastructure
- [Crossplane](https://talira.ai/catalog/crossplane-6b3m2zyc.md): Build cloud native control planes that manage infrastructure and apps through Kubernetes APIs
- [Pulumi](https://talira.ai/catalog/pulumi-xjfn5qgh.md): Infrastructure as code for humans and agents
- [AWS CloudFormation](https://talira.ai/catalog/aws-cloudformation-08e6jc8r.md): AWS's native infrastructure as code service
- [Semaphore UI](https://talira.ai/catalog/semaphore-ui-evesar7b.md): Modern UI and powerful API for Ansible, Terraform/OpenTofu/Terragrunt, PowerShell and other DevOps tools
- [Atlantis](https://talira.ai/catalog/atlantis-5t6qr47b.md): Terraform Pull Request Automation

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://github.com/opentofu/opentofu/blob/main/LICENSE (checked 17 Nov 2026)
[^4]: https://opentofu.org/ (checked 17 Nov 2026)
[^5]: https://opentofu.org/docs/intro/install/ (checked 17 Nov 2026)
[^6]: https://github.com/opentofu/opentofu (checked 17 Nov 2026)
[^7]: https://opentofu.org/docs/language/providers/ (checked 17 Nov 2026)
[^8]: https://github.com/opentofu/opentofu-mcp-server (checked 17 Nov 2026)
