dmpe / asdf-k3s

Download K3s binary using asdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asdf-k3s Build Lint

k3s plugin for the asdf version manager.

Contents

Dependencies

  • 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.

Install

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.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © John Malc

About

Download K3s binary using asdf

License:MIT License


Languages

Language:Shell 100.0%