凭据访问
Reads backend credentials, provider credentials, variables, and state data.
代理安全
opentofu plans and applies infrastructure changes from local state and cloud credentials.
Reads backend credentials, provider credentials, variables, and state data.
Can create, update, or destroy infrastructure resources.
Can deploy infrastructure that exposes or runs application artifacts.
Gate apply, destroy, import, state, and backend changes.
Allow plan by default; require approval for any state-changing command.
安装
brew install opentofulocal Homebrew formula metadata
sudo apk add opentofuAlpine Linux edge package indexes · opentofu · 来源: dl-cdn.alpinelinux.org
sudo dnf install opentofuFedora Rawhide package metadata · opentofu · 来源: dl.fedoraproject.org
nix profile install nixpkgs#opentofunixpkgs package indexes · pkgs/by-name/op/opentofu/package.nix · 来源: api.github.com
sudo pacman -S opentofuArch Linux sync databases · opentofu · 来源: geo.mirror.pkgbuild.com
sudo zypper install opentofuopenSUSE Tumbleweed package metadata · opentofu · 来源: download.opensuse.org
choco install opentofuChocolatey community package catalog · opentofu · 来源: community.chocolatey.org
scoop install main/opentofuScoop official bucket manifest trees · bucket/opentofu.json · 来源: api.github.com
winget install --id OpenTofu.Tofu -eWindows Package Manager source index · OpenTofu.Tofu · 来源: cdn.winget.microsoft.com
概览
Drop-in replacement for Terraform. Infrastructure as Code Tool
历史
OpenTofu is a community-driven infrastructure-as-code tool created as an open-source fork of Terraform after HashiCorp changed Terraform’s license from MPL-2.0 to the Business Source License. It keeps the familiar `plan`, `apply`, state, provider, module, and HCL-style workflows while using the `tofu` executable and Linux Foundation governance.
The OpenTF manifesto began as an appeal to keep Terraform under a truly open-source license. When that did not happen, the initiative forked the last MPL-licensed Terraform codebase and moved forward as OpenTofu under the Linux Foundation. The project’s own announcement framed OpenTofu as community-driven, impartial, layered, modular, and backward-compatible.
OpenTofu reached its first stable release, 1.6.0, on January 10, 2024, after roughly four months of work. The project documented migration paths from Terraform 1.5.x and 1.6.x and positioned the release as production-ready for users who wanted open-source infrastructure-as-code continuity.
OpenTofu adoption was unusually fast because it started with Terraform’s established user model, provider ecosystem, and module habits. The Linux Foundation launch announcement named broad community and company backing, while the OpenTofu homepage later described thousands of providers and modules available to users.
The package-manager story matters because OpenTofu’s promise is partly operational: users need a `tofu` binary in CI images, developer laptops, container builds, and distribution repositories. Homebrew, Nix, Alpine, Fedora, Arch, Scoop, Chocolatey, winget, and other package channels made the fork installable without bespoke bootstrapping.
Operators use OpenTofu to declare infrastructure resources, initialize providers and modules, compute plans, apply changes, manage state, and integrate infrastructure changes into CI/CD. It is intentionally familiar to Terraform users, with migration guides focused on preserving existing workflows and configurations.
The CLI reads configuration files, talks to provider plugins, stores state locally or remotely, and exposes command behavior that infrastructure teams script heavily. That makes packaging details such as executable name, plugin cache behavior, credentials files, and compatibility promises more important than for a throwaway CLI.
OpenTofu is one of the clearest examples of licensing changing a package graph. A single upstream license decision created a new binary, new governance, new release channel, and new distro formulas for a tool already embedded in deployment pipelines.
安全态势
infrastructure as code tool.
orange 风险 · 高 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.tofurc$XDG_CONFIG_HOME/opentofu/tofurc%APPDATA%\tofu.rcCredential-bearing paths to review before unattended agent runs.
~/.terraform.d/credentials.tfrc.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tofu | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/opentofu/opentofu
安装元数据
| 软件包键 | brew:opentofu |
|---|---|
| 版本 | 1.12.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/opentofu |
| 主页 | https://opentofu.org/ |
| 仓库 | https://github.com/opentofu/opentofu |
| 上游文档 | https://opentofu.org/docs |
| 许可证 | MPL-2.0 |
| 源码归档 | https://github.com/opentofu/opentofu/archive/refs/tags/v1.12.5.tar.gz |
| 最后更新 | 2026-07-21T12:35:43Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opentofu |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
opentofu
nix profile install nixpkgs#opentofuopentofu 1.12.1-r0
OpenTofu lets you declaratively manage your cloud infrastructure
sudo apk add opentofuopentofu 1.12.0-1.fc45
OpenTofu lets you declaratively manage your cloud infrastructure
https://github.com/opentofu/opentofu
sudo dnf install opentofuopentofu 1.12.0-1
Lets you declaratively manage your cloud infrastructure
https://github.com/opentofu/opentofu
sudo pacman -S opentofuopentofu 1.12.1-1.1
Declaratively manage your cloud infrastructure
https://github.com/opentofu/opentofu
sudo zypper install opentofuopentofu
choco install opentofumain/opentofu
scoop install main/opentofuOpenTofu.Tofu
winget install --id OpenTofu.Tofu -eOpenTofu.Tofu.Alpha
winget install --id OpenTofu.Tofu.Alpha -eOpenTofu.Tofu.Beta
winget install --id OpenTofu.Tofu.Beta -eOpenTofu.Tofu.RC
winget install --id OpenTofu.Tofu.RC -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.