HomebrewSoftware Package management can be easily implemented. It can be described in one sentence on the official website.
Homebrew makes OS X more complete. Use gem to install your gems and brew to handle their dependent packages.
Install Homebrew
Only one command is required, so easy
Ruby-e "$ (curl-fsSL https://raw.github.com/Homebrew/homebrew/go/install )"
If your Mac OS is the same as mine, it has never been installed before.Command Line ToolsDuring this period, the system will automatically prompt you to install it.
Homebrew usage
ActuallyHomebrewLike other package managers, it is very simple to use
$ brew
Example usage:
brew [info | home | options] [FORMULA ...]
brew install FORMULA ... // install the package
brew uninstall FORMULA ... // uninstall the package
brew search [foo] // search for packages
brew list [FORMULA ...] // display a list of installed software
brew update // update brew
brew upgrade [FORMULA ...] // Update the package, without the package name, update all packages
brew pin / unpin [FORMULA ...]
Troubleshooting:
brew doctor
brew install -vd FORMULA
brew [--env | --config]
Brewing:
brew create [URL [--no-fetch]]
brew edit [FORMULA ...]
open https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook
Further help:
man brew
brew home
Reference
[1] http://brew.sh/index_zh-cn.html
[2] https://github.com/Homebrew/homebrew/wiki/Installation