Just run in terminal :
git clone https://github.com/danfmihai/kubernetes-kops.git
cd kubernets-kops
chmod +x install-kubectl.sh
sudo sh install-kubectl.sh
You should have kubectl terraform and kops installed now. to test just type in terminal:
kubectl
kops
terraform