Thursday, December 13, 2012

Install brew on Mac

I love Unix. The most beautiful things in Unix, especially on MacOS is console. Maybe most people thought Mac is the most beautiful OS in the world. Well, perhaps. I'm not apple fan boy. But I'm Unix fan boy.  :)

Even MacOS is my primary companion, I still need more. Most of my time spend on console. Not MacOS fancy UI. I need more power on console. Therefore, brew came to help.







Here's the requirements before we install brew,
1. An Intel CPU
2. OS X 10.5 or higher
3. Command line tools for Xcode or Xcode.

Finish? Now open your "Terminal" and put this command,

ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

After finish installing brew, before you use brew, please check brew installation. Make sure your brew is ready to work,


brew doctor

You must have this output,

Your system is raring to brew.

Now you're ready to brew. Example, you can install elinks, wget, lynx, tcping, metasploit, tcptraceroute and others.

Let say we gonna install wget. Here's the command,

brew install elinks

Wanna search some packages. Here's the command,

brew search package-name

Need help? RTFM!

brew -h


or

man brew

No comments:

Post a Comment