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

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.

主站蜘蛛池模板: 泽普县| 军事| 横峰县| 奇台县| 左贡县| 乐昌市| 凤城市| 开平市| 垣曲县| 陆河县| 五台县| 商河县| 黑水县| 寻甸| 南召县| 白银市| 山东省| 北辰区| 泉州市| 凤凰县| 马龙县| 行唐县| 巴林右旗| 洞头县| 祁门县| 淮北市| 永修县| 嘉定区| 中阳县| 镶黄旗| 玉屏| 灵台县| 汝南县| 大田县| 阜新市| 久治县| 米脂县| 平乐县| 绥滨县| 崇文区| 屯昌县|