k3s plugin for the asdf version manager.
bash
,curl
,grep
, and POSIX utilities.SOME_ENV_VAR
: set this environment variable in your shell config to load the correct version of tool x.
https://asdf-vm.com/guide/getting-started.html
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
export ASDF_DIR="$HOME/.asdf"
. "$HOME/.asdf/asdf.sh"
Plugin:
asdf plugin add k3s
# or
asdf plugin add k3s https://github.com/dmpe/asdf-k3s.git
k3s:
# Show all installable versions
asdf list-all k3s
# Install specific version
asdf install k3s latest
# Set a version globally (on your ~/.tool-versions file)
asdf global k3s latest
# Now k3s commands are available
k3s -v
Check asdf readme for more instructions on how to install & manage versions.
Contributions of any kind welcome! See the contributing guide.