官术网_书友最值得收藏!

Windows 10 Professional

Similarly to how we installed Minikube on macOS, we will be using a package manager; this time it is called Chocolatey.

Chocolatey is a package manager for Windows, similar to Homebrew on macOS. It enables you to install software from the command line, and supports both PowerShell and cmd.exe. We will be using PowerShell.

If you do not have Chocolatey installed, you can run the following command in a PowerShell console that has been launched with administrator privileges:

The following command is a single line and not multiple lines. Also, as we are running the install command using Set-ExecutionPolicy Bypass, you will be asked if you are sure. As we are running the script directly from the Chocolatey site over HTTPS, you should be able to trust the script and answer yes.

$ Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Once Chocolatey is installed, you can install Minikube by running:

$ choco install minikube

This will download and install the dependencies, and then install Minikube. When you are asked to confirm if you would like to run the script, respond with yes:

Once installed, you will be able to run the following command:

$ minikube version

This will return the version of Minikube installed; for me, this was v0.22.2.

主站蜘蛛池模板: 浠水县| 彭泽县| 曲阜市| 包头市| 抚州市| 余庆县| 海晏县| 固原市| 巴青县| 崇仁县| 灌云县| 和平区| 安庆市| 丹寨县| 凤冈县| 武隆县| 东城区| 六安市| 遂平县| 汝州市| 宝清县| 博湖县| 延庆县| 东丰县| 高平市| 馆陶县| 榆树市| 六枝特区| 文化| 马龙县| 睢宁县| 黄平县| 闵行区| 铜梁县| 太保市| 民权县| 大厂| 哈密市| 兰溪市| 泽库县| 苍南县|