mac 下的 HomeBrew
开始
看homebrew的官网
安装
brew install kong
卸载
brew uninstall kong
查找
brew search kong
源设置
brew tap mashape/kong
brew untap mashape/kong
已安装的软件
brew list
更新软件,把所有的Formula目录更新,并且会对本机已经安装并有更新的软件用*标明。
brew update
更新某具体软件
brew upgrade git
查看软件信息
brew [info | home] [FORMULA...]
删除程序,和upgrade一样,单个软件删除和所有程序老版删除。
brew cleanup git
brew cleanup
查看那些已安装的程序需要更新
brew outdated
其它Homebrew指令:
brew list //—列出已安装的软件
brew update //—更新Homebrew
brew home * //—用浏览器打开
brew info * //—显示软件内容信息
brew deps * //—显示包依赖
brew server * //—启动web服务器,可以通过浏览器访问
//http://localhost:4567/ 来同网页来管理包
brew -h brew //—帮助
问题:
Error: Formulae found in multiple taps: * kong/kong/kong * mashape/kong/kong Please use the fully-qualified name e.g. kong/kong/kong to refer the formula.
卸载一个源
brew uptap mashape/kong