Official opentofu plugin for the asdf version manager.
bash
,curl
,unzip
cosign
: (optional) If installed, asdf will perform signature verification
Plugin:
asdf plugin add opentofu
OpenTofu:
# Show all installable versions
asdf list-all opentofu
# Install a specific version
asdf install opentofu latest
# Set a version globally (on your ~/.tool-versions file)
asdf global opentofu latest
# Now OpenTofu commands are available
tofu version
Check asdf readme for more instructions on how to install & manage versions.
ASDF_OPENTOFU_SKIP_VERIFY
: skip verifying checksums and signatures (default:false
)ASDF_OPENTOFU_VERSION_FILE
: Which .tofu-file to examine for version constraints when using thelegacy_version_file
option in~/.asdfrc
. (default:main.tofu
)
Contributions of any kind are welcome! See the contributing guide.
Thanks goes to these contributors!
See LICENSE © Alejandro Lazaro