--- title: Install Minikube content_template: templates/task weight: 20 --- {{% capture overview %}} 本页面讲述如何安装 Minikube。 {{% /capture %}} {{% capture prerequisites %}} 您的计算机必须在 BIOS 中启用 VT-x 或 AMD-v 虚拟化。 {{% /capture %}} {{% capture steps %}} ## 安装 Hypervisor 如果还没有装过 hypervisor,以下是一些不错的选择: * macOS:[VirtualBox](https://www.virtualbox.org/wiki/Downloads) 或者 [VMware Fusion](https://www.vmware.com/products/fusion),或者 [HyperKit](https://github.com/moby/hyperkit)。 * Linux:[VirtualBox](https://www.virtualbox.org/wiki/Downloads) 或者 [KVM](http://www.linux-kvm.org/)。 {{< note >}} Minikube 也支持 `-\-vm-driver=none` 选项,该选项在主机而非 VM 上运行 Kubernetes 组件。 使用这个驱动程序需要 Docker 和 linux 环境,而不需要 hypervisor。 {{< /note >}} * Windows:[VirtualBox](https://www.virtualbox.org/wiki/Downloads) 或者 [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)。 ## 安装 kubectl * 请参照 [安装与设置 kubectl](/docs/tasks/tools/install-kubectl/) 中的说明安装 kubectl。 ## 安装 Minikube * 请参照[最新发行](https://github.com/kubernetes/minikube/releases)指导安装 Minikube。 {{% /capture %}} {{% capture whatsnext %}} * [使用 Minikube 在本地运行 Kubernetes](/docs/getting-started-guides/minikube/) {{% /capture %}}