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

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.

主站蜘蛛池模板: 台中县| 吉水县| 天祝| 焉耆| 宝丰县| 兴宁市| 淮安市| 图们市| 瓦房店市| 皋兰县| 连江县| 安国市| 黄龙县| 浏阳市| 土默特右旗| 洮南市| 育儿| 凤山县| 济源市| 五大连池市| 沿河| 盐边县| 临城县| 广丰县| 临桂县| 安岳县| 旬阳县| 乌兰县| 宁化县| 昌邑市| 饶平县| 清镇市| 福海县| 阿合奇县| 时尚| 平阳县| 嘉鱼县| 共和县| 治多县| 横山县| 桦南县|