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

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.

主站蜘蛛池模板: 潜山县| 满洲里市| 栾城县| 玉树县| 庆阳市| 黄平县| 弋阳县| 沧州市| 马山县| 灯塔市| 城固县| 永川市| 鸡东县| 台北市| 名山县| 福清市| 师宗县| 扶绥县| 绥棱县| 勐海县| 黎平县| 聂荣县| 沙田区| 东乡县| 郁南县| 普定县| 恭城| 龙口市| 衡东县| 长武县| 阜城县| 阳原县| 景洪市| 遵义市| 凤山县| 北碚区| 太和县| 娄烦县| 炉霍县| 广宗县| 清水县|