Pre Req You need to install dialog RHEL sudo dnf install dialog DEB sudo apt-get install dialog ARCH pacman -S dialog OSX mac brew install dialog Use move to any folder in your path mv kubectl-set-context /usr/local/bin kubectl-set-context In dialog box select context and voila