You can install kind with go get sigs.k8s.io/kind. This will put kind in $(go env GOPATH)/bin. You may need to add that directory to your $PATH as shown here if you encounter the error kind: command not found after installation.
To use kind, you will also need to install docker. Once you have docker running you can create a cluster with:
To delete your cluster use:
To create a cluster from Kubernetes source:
ensure that Kubernetes is cloned in $(go env GOPATH)/src/k8s.io/kubernetes