Skip to main content

Install chocolatey in Windows

MarshioLess than 1 minutewindowschocolatey

installopen in new window

安装

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