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

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.

主站蜘蛛池模板: 罗源县| 滨州市| 聊城市| 麻栗坡县| 信宜市| 固镇县| 松原市| 景泰县| 宁乡县| 河北区| 吉安市| 榆社县| 福泉市| 观塘区| 黎川县| 英吉沙县| 雷山县| 辽宁省| 营山县| 阜城县| 沂南县| 新疆| 辽阳市| 河曲县| 教育| 开原市| 无锡市| 湖南省| 山丹县| 临沧市| 尖扎县| 富川| 龙里县| 凤冈县| 北安市| 新绛县| 雅江县| 石首市| 铁岭市| 云安县| 开化县|