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

Install Chocolatey for Windows

Chocolatey is a CLI-based package manager for Windows, which can be used for automated software installation. To install Chocolatey on Windows, you will need to run an elevated command shell:

  1. Launch the Start menu
  2. Start typing in PowerShell
  3. You should see Windows PowerShell Desktop App as a search result
  4. Right-click on Windows PowerShell and select Run as Administrator
  5. This will trigger a User Account Control (UAC) warning; select Yes to continue
  6. Execute the following command in PowerShell to install the Chocolatey package manager:
PS> Set-ExecutionPolicy AllSigned; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  1. Verify your Chocolatey installation by executing choco
  2. You should see a similar output, as shown in the following screenshot:

Successful installation of Chocolatey

All subsequent Chocolatey commands must also be executed from an elevated command shell. Alternatively, it is possible to install Chocolatey in a non-administrator setting that doesn't require an elevated command shell. However, this will result in a non-standard and less secure development environment, and certain applications installed through the tool may still require elevation.

For more information, refer to: https://chocolatey.org/install.

主站蜘蛛池模板: 南丹县| 普兰县| 陆川县| 马龙县| 慈溪市| 赫章县| 龙川县| 福贡县| 栾城县| 大悟县| 常宁市| 东城区| 上虞市| 扬中市| 托克托县| 临江市| 盱眙县| 昭平县| 濉溪县| 玉龙| 宜州市| 衡阳市| 肥东县| 东莞市| 察雅县| 图片| 奇台县| 额尔古纳市| 宜春市| 苏尼特左旗| 涟水县| 永修县| 壤塘县| 张家界市| 永新县| 密云县| 马边| 罗田县| 辽宁省| 巴中市| 望都县|