opentofu plugin for the asdf version manager.
bash
,curl
,unzip
cosign
: (optional) If installed, asdf will perform signature verification
Plugin:
asdf plugin add opentofu
# or
asdf plugin add opentofu https://github.com/virtualroot/asdf-opentofu.git
opentofu:
# Show all installable versions
asdf list-all opentofu
# Install 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
)
Contributions of any kind welcome! See the contributing guide.
Thanks goes to these contributors!
See LICENSE © Alejandro Lazaro