Install kubectl
$ brew install kubectl
Or follow this document
Verify installation
$ kubectl version
$ kubectl version --client
$ kubectl version --client --output=yaml
$ brew install kubectl
Or follow this document
Verify installation
$ kubectl version
$ kubectl version --client
$ kubectl version --client --output=yaml