The installation process is, again, very similar to the macOS. The following commands will fetch the kubectl binary, give it an executable flag, and then move it to the /usr/local/bin to make it available in the shell:
$ curl -O https://storage.googleapis.com/kubernetes-release/release/v1.5.2/bin/linux/amd64/kubectl $ chmod +x kubectl $ sudo cp kubectl /usr/local/bin/kubectl
To verify if your local cluster is up and running and kubectl is properly configured, execute the following command:
$ kubectl cluster-info
In the output, you will be given basic information about the cluster, which includes its IP address, and running Minikube addons (we will get back to addons later in this chapter):
To list the nodes we have ...