Windows环境下的apt-get:Chocolatey
1、安装
Chocolatey的安装需要:
Powershell
Internet链接
下面的操作在Windows 7上面应该是没有问题的。以“管理员方式”打开一个命令行工具,输入下面的命令:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
经过一段时间的等待,Chocolatey安装完毕。
2、使用
举个栗子,你如果想安装7Zip,你可以在命令行输入:
cinst 7Zip
就会自动安装这个压缩软件。
安装Node.js,输入:
cinst node.js
另外还可以安装IE10(Windows 7):
cinst IE10
安装Visual Studio 2013 Ultimate这个巨无霸也是可以的:
cinst VisualStudio2013Ultimate
软件列表,可以在Chocolatey的软件索引查到。
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:168
阅读量:110
阅读量:166
阅读量:139
阅读量:140