Install chocolatey in Windows
Less than 1 minute
安装
CMD
以管理员的方式打开CMD,然后输出如下命令
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
powershell
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
验证
choco
choco -v