RN

2016-12-27  本文已影响0人  SteamPY

Windows下的包管理器Chocolatey

'powershell' is not recognized as an internal or external command, operable program or batch file

首先进入到对应目录径:

然后执行:

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex

((new-object

net.webclient).DownloadString('http://bit.ly/psChocInstall'))"

&& SET PATH=%PATH%;%systemdrive%\chocolatey\bin

命令运行完成之后,输入choco命令,如果显示出了版本号,说明安装成功了。

PS C:\Windows\system32> chocoChocolatey v0.9.9.12

上一篇 下一篇

猜你喜欢

热点阅读