What is homebrew?
Homebrew is the "easiest and most flexible way to install" UNIX tools Apple didn ' t include with OS x.
We are able to use it conveniently to install the UNIX-related tool software that manages Apple without its own.
How do I install it?
Reference GitHub Address: https://github.com/mxcl/homebrew/wiki/installation
It is recommended that you remove the Fink and macports that have been installed before installation.
Homebrew uses Ruby script, Mac OS X has its own ruby.
Ruby-e "$ (curl-fssl https://raw.github.com/gist/323731)"
How to use it?
Update formulae to ensure that the file source is up to date for each installation.
Brew Update
Look for the software you need, for example, to find JPEG-related software.
Brew Search JPEG
There were three of them.
JPEG Jpegoptim Openjpeg
Then install the software you need
Brew Install Jpegoptim
Homebrew update fast, easy to install convenient operation, we recommend that you use. If the source code download address in formulae is dropped by the celestial wall, you can modify the source code download address directly in the RB script.