Follow the installation instructions on kubernetes.io.
(I haven't tested this setup locally, as I had some problems with enabling virtualization on my pc. But it should work fine if your computer is able to run virtual machines.)
To create a cluster run the following command:
minikube start
To access your applications after deploying it you will need to enable ingress with the following command:
minikube addons enable ingress
This tutorial is a summary of these guides Installing Kubernetes with Minikube and Set up Ingress on Minikube with the NGINX Ingress Controller. You can find some additions infos there.