MacOs brew 命令行安装常见工具

brew类似ubuntu系统下的apt-get的功能

安装方法:  在Mac中打开Termal:  输入命令:

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

常用命令:

安装:brew install git 
卸载:brew uninstall wget
查询:brew search /wge*/
列表:brew list
显示包依赖 brew deps
原文地址:https://www.cnblogs.com/oftenlin/p/8507110.html