The asdf-vm plugin to install and manage multiple Istio versions.
asdf plugin-add istio https://github.com/solo-io/asdf-istio
asdf list-all istio
asdf install istio latest
asdf install istio 1.11.5
To make your Istio/Kubernetes projects use a specific version of Istio, run the following command from the root of project:
# e.g. asdf local istio 1.11.5
asdf local istio <istio-verison>
The command will create a .tools-version
in the local project directory pointing to the Istio version passed argument. The path will now be adjusted to use the Istio version used in the command
To set a Istio version globally, run:
asdf global istio <istio-version>
Once you have set the Istio version using asdf global
or asdf local
commands, you can set the ISTIO_HOME
variable using the command,
export ISTIO_HOME=$(asdf where istio)