Homebrew can be very convenient package management, using the official website of a word to describe is
Homebrew makes OS X more complete. Use Gems to install your gems, and brew to fix their dependency packages.
Installing homebrew
Only one command is required so easy
Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"
If your Mac OS is the same as me, no Command line Toolshas been installed before and will be automatically prompted during installation.
The use of homebrew
In fact Homebrew like other package managers, using very simple
$ brewexample Usage:brew [info | home | options] [FORMULA ...] Brew Install FORMULA ...//install package Brew Uninstall FORMULA ... //Uninstall Package brew search [foo] //Search Package brew list [FORMULA ...] //Display list of installed software brew update //Update brew BREW upgrade [FORMULA ...] //update package, not parking name is update all package brew Pin/unpin [FORMULA ...] Troubleshooting:brew Doctor Brew INSTALL-VD FORMULA Brew [--env |--config]brewing:brew create [URL [--No-fetch]] B Rew Edit [FORMULA ...] Open https://github.com/homebrew/homebrew/wiki/formula-cookbookfurther help : Man Brew Brew Home
Reference
- Brew website
- Homebrew Wiki
Install Homebrew in MAC