https://github.com/virtualroot/asdf-opentofu
Official asdf plugin for opentofu
https://github.com/virtualroot/asdf-opentofu
asdf-plugin command-line linux macos opentofu tofu
Last synced: about 1 month ago
JSON representation
Official asdf plugin for opentofu
- Host: GitHub
- URL: https://github.com/virtualroot/asdf-opentofu
- Owner: virtualroot
- License: mit
- Created: 2023-10-04T13:51:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-30T18:33:15.000Z (about 2 months ago)
- Last Synced: 2026-01-03T15:35:26.812Z (about 2 months ago)
- Topics: asdf-plugin, command-line, linux, macos, opentofu, tofu
- Language: Shell
- Homepage:
- Size: 72.3 KB
- Stars: 29
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
- awesome-opentofu - asdf-opentofu - OpenTofu plugin for asdf version manager. (Tools / Environment managers)
README
# asdf-opentofu [](https://github.com/virtualroot/asdf-opentofu/actions/workflows/build.yml) [](https://github.com/virtualroot/asdf-opentofu/actions/workflows/lint.yml)
Official [opentofu](https://opentofu.org/) plugin for the [asdf version manager](https://asdf-vm.com).
# Contents
- [Dependencies](#dependencies)
- [Install](#install)
- [Contributing](#contributing)
- [License](#license)
# Dependencies
- `bash`, `curl`, `unzip`
- `cosign`: (optional) If installed, asdf will perform signature verification
# Install
Plugin:
```shell
asdf plugin add opentofu
# or
asdf plugin add opentofu https://github.com/virtualroot/asdf-opentofu.git
```
OpenTofu:
```shell
# 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](https://github.com/asdf-vm/asdf) readme for more instructions on how to
install & manage versions.
# Environment Variable Options
* `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 the `legacy_version_file` option in `~/.asdfrc`. (default: `main.tofu`)
# Contributing
Contributions of any kind are welcome! See the [contributing guide](contributing.md).
[Thanks goes to these contributors](https://github.com/virtualroot/asdf-opentofu/graphs/contributors)!
# License
See [LICENSE](LICENSE) © [Alejandro Lazaro](https://github.com/virtualroot/)