@dume2007
2017-02-27T02:54:25.000000Z
字数 695
阅读 2857
windows chocolatey powershell yum apt-get
Windows用户的福音!Linux用户习惯了apt-get,yum,Mac用户习惯了brew,现在windows也有了自己的包管理工具,这就是Chocolatey。
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/psChocInstall'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
开始菜单,搜索powershell,open it
然后在命令窗口,执行命令:
set-executionpolicy remotesignediex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
#安装软件包choco install dockerchoco install gradle#搜索软件包choco search nodejs#升级软件包choco upgrade chocolatey#卸载软件包choco uninstall git
安装gradle示例:

