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

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.
主站蜘蛛池模板: 中江县| 河东区| 凉山| 永泰县| 钦州市| 道孚县| 湄潭县| 册亨县| 黎平县| 秭归县| 海丰县| 海南省| 荔波县| 开平市| 南汇区| 聂拉木县| 蓝山县| 岳西县| 沅陵县| 新巴尔虎右旗| 普安县| 夏津县| 西贡区| 咸宁市| 新竹县| 余江县| 白沙| 安岳县| 巴彦县| 常山县| 墨竹工卡县| 厦门市| 舞钢市| 正定县| 宁阳县| 宜昌市| 镇巴县| 噶尔县| 孟连| 闽侯县| 长汀县|