首页 > 代码库 > 安装chocolatey

安装chocolatey

 

C:\> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1‘))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

 

或者:

 

PS:\>iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1‘))