The Chocolatey website provides easy-to-follow instructions ( https://chocolatey.org/install ) for installing Chocolatey.
选择Install Chocolatey for Individual Use。
使用管理员权限打开PowerShell。
按照提示,在PowerShell中直接Copy如下脚本,并运行。
Now run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
安装完成后,重新打开PowerShell,就可以使用choco命令了。
在command prompt终端,即命令行里输入cmd.exe,也可以运行choco命令。
189

被折叠的 条评论
为什么被折叠?



