Easily switch between kubectl version
Managing kubectl versions can help you when managing multiple clusters with different versions and can make you fully compatible with your clusters.
Before getting started make sure kubectl is not install to varify that
command -v kubectl
should fail
Make required paths ready by running
mkdir -p "$HOME/.kvm/bin/"
and put the following line into your .bashrc
or .zshrc
export PATH="$HOME/.kvm/bin:$PATH"
install package itself by running
go install github.com/mhkarimi1383/kvm@latest