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

  • Learn WebAssembly
  • Mike Rourke
  • 138字
  • 2021-08-13 15:38:57

Chocolatey for Windows

Chocolatey is a package manager for Windows. It's similar to Apt in that it lets you install both command-line tools and applications. To install Chocolatey, you need to run the command prompt (cmd.exe) as an administrator. You can do this by pressing the Start menu button, typing cmd, and right-clicking on the Command Prompt application and selecting Run as administrator:

Running the Command Prompt as an administrator

Then just run the following command:

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
The easiest way to get the command text is through Chocolatey's installation page at https://chocolatey.org/install. There's a button to copy the text to your clipboard under the Install with cmd.exe section. You could also install the application using PowerShell if you follow the steps on the Installation page.
主站蜘蛛池模板: 商河县| 镇巴县| 池州市| 嘉善县| 怀柔区| 轮台县| 凭祥市| 尚志市| 永修县| 安顺市| 开鲁县| 青田县| 南昌市| 图们市| 宽甸| 任丘市| 高陵县| 罗甸县| 犍为县| 南昌县| 西峡县| 浦江县| 托克托县| 礼泉县| 永兴县| 怀来县| 高陵县| 巴马| 明水县| 乳山市| 奇台县| 石柱| 吉水县| 康马县| 内江市| 赞皇县| 鄂尔多斯市| 行唐县| 大余县| 依兰县| 德保县|