RN

作者: SteamPY | 来源:发表于2016-12-27 16:02 被阅读0次

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

相关文章

网友评论

      本文标题:RN

      本文链接:https://www.haomeiwen.com/subject/rvrjettx.html