Below refer to the user's summary:
View Brew's Help
Brew–help
Installing the Software
Brew Install Git
Uninstalling software
Brew Uninstall Git
Search Software
Brew Search Git
Show list of installed software
Brew List
Update the software, update all the formula directories, and mark the software that has been installed and updated with *.
Brew Update
Update a specific software
Brew Upgrade Git
View software Information
Brew [INFO | home] [FORMULA ...]
Remove Programs, like upgrade, single software removal and all programs old version removed.
Brew cleanup git
Brew cleanup
View those installed programs that need to be updated
Brew outdated
Other Homebrew Instructions:
Brew list-Lists installed software
Brew update-Update Homebrew
Brew Home *-opens in a browser
Brew Info *-Displays software content information
Brew Deps * * Show package dependencies
Brew Server *-Starts a Web server that can be accessed by a browser http://localhost:4567/to manage the package with a Web page
Brew-h brew-Help
Homebrew itself is a git repository. When using homebrew to install the package, the package will be downloaded automatically first, and then unzip the installation, but sometimes the download will be stuck, or very slow, this time you can use other tools to download the required package, note that the version must correspond to the homebrew to place the package source code path is/ library/caches/homebrew/, as long as you will need to download the correct version of the package, placed in this directory, then use the Brew install XXX, brew can be installed directly, sometimes brew install XXX card in the download interface , it works.
Making a formula is easy. Just and then brew create URL
brew install $FORMULA
(perhaps with --debug --verbose
). Basically, a formula is a Ruby file. You can place it anywhere on your want (local or remote) and install it by pointing to the file or URL.
formula文件位置:/usr/local/Library/Formula/foo.rb 存放安装工具的rb文件
Packages is installed according to their formulae, which live in $(brew --repository)/Library/Formula
. Check some out. You can view any formula at anytime; e.g. brew edit wget
In addition, the brew installation process requires the use of Apple's Xcode compiler, you can go to Apple's official website for free download installation (need to register a free developer, then download), after installation to the properties (Xcode- Perference--downloads--components--command line Tools) Click to download it.
Homebrew Tool Address: https://github.com/Homebrew/homebrew
Brew command (software image used by Apple system)