If you want to try Kubernetes localy, you can use the Minikube program, available for both Windows, Mac and Linux. It will install a small VM on your system which then acts as a single node cluster.

You must also have Docker installed.

If you want to experiment with OpenShift, a stack built by RedHat on top of Kubernetes, the process is exactly the same but instead of Minikube, you will have to install Minishift, available on all platforms too.