安装地址:https://chocolatey.org/install
Installing Chocolatey开始安装
cmd至命令窗口,贴下列命令
@"%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"
![](https://img.haomeiwen.com/i9726877/c77eeac8464bb1b4.png)
输入choco或choco -?验证是否安装ok
![](https://img.haomeiwen.com/i9726877/7474ec26b0a1c82a.png)
![](https://img.haomeiwen.com/i9726877/0ca65419eb130024.png)
需要更新的话,执行下列命令
choco upgrade chocolatey
网友评论