Mac下套件管理器——Homebrew

Homebrew是Mac下不错的软件管理工具。不单安装简单,使用也很方便。

主页:https://github.com/Homebrew/homebrew 和http://brew.sh/ 

也有很好的中文参考:http://brew.sh/index_zh-cn.html 作为指引

安装:

终端输入:ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

之后按英文提示是:You should run `brew doctor' *before* you install anything,就是输入:brew doctor

之后就能安装了,命令: brew install 软件名(例如mplayer)当然还可以使用下面命令

1. brew search <pkg_name>  #查找软件包

2.$ brew install <pkg_name>  #安装软件包

3.$ brew list #列出软件包

4.$ brew uninstall <pkg_name> #卸载软件包

5.$ brew update #更新

6.$ brew info <pkg_name> #查看软件包的基本资料

当然,homebrew-cask也是不错的

安装:

$ brew tap phinze/homebrew-cask && install brew-cask

瞬间安装多个软件

brew cask install alfred brew cask install the-unarchiver brew cask install qq brew cask install line brew cask install skype brew cask install thunder brew cask install mplayerx brew cask install evernote brew cask install skitch brew cask install dropbox brew cask install google-chrome brew cask install mou brew cask install iterm2 brew cask install sublime-text brew cask install virtualbox

相关文章
相关标签/搜索