asdf-tctl
February 15, 2023 ยท View on GitHub
asdf-tctl
tctl plugin for asdf version manager.
Installation
$ asdf plugin-add tctl https://github.com/eko/asdf-tctl.git
$ asdf list all tctl
$ asdf install tctl latest
Usage
Check out the asdf documentation for instructions on how to install and manage versions.
Architecture Override
The ASDF_TCTL_OVERWRITE_ARCH variable can be used to override the architecture that is used for determining which tctl build to download. The primary use case is when attempting to install an older version of tctl for use on an Apple M1 computer as tctl was not built for ARM at the time.
Without ASDF_TCTL_OVERWRITE_ARCH:
$ asdf install tctl 1.17.2
With ASDF_TCTL_OVERWRITE_ARCH:
$ ASDF_TCTL_OVERWRITE_ARCH=arm64 asdf install tctl 1.17.2