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

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.
主站蜘蛛池模板: 株洲县| 仁化县| 海伦市| 托克托县| 镇远县| 潼关县| 洪江市| 成都市| 沅江市| 革吉县| 沂南县| 黄陵县| 娄烦县| 嵊州市| 白河县| 临泉县| 二手房| 五指山市| 稻城县| 剑阁县| 泾阳县| 遂昌县| 星座| 白河县| 务川| 温泉县| 徐闻县| 正定县| 新民市| 应城市| 德清县| 峨眉山市| 东兰县| 洪洞县| 华坪县| 浮山县| 文登市| 东兰县| 余江县| 泽州县| 宁阳县|