kvm
Easily switch between kubectl version
Why?
Managing kubectl versions can help you when managing multiple clusters with different versions and can make you fully compatible with your clusters.
Install
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