HomeBrew QuickStart for Mac OS X 10.11+
The Mac Tutorial Clearly and Simply Show How-to Install and Getting-Started with Homebrew on Mac OS X 10.11 El Capitan.
It is a Basic Task but Require a Minimal confidence with the Command Line and Often some Details are Granted as Known from Everybody…
The HomeBrew Tool is Very Useful if you Want to Easily Extend the Mac Software Library fishing on the *NIX Aquarium the Good Stuff! 😉
-
Open a Shell Terminal emulator window
Applications >> Utilities >> Terminal
(Press “Enter” to Execute Commands) -
Login as SuperUser
sudo su
If Got “User is Not in Sudoers file” then Look: Solution
-
Change Directory
cd /usr/local
-
Installing Homebrew
mkdir homebrew && curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew
If Not XCode Installed then Install Mac Command line Tools:
Mac Command-Line-Tools -
SetUp the PATH for Easy Installing and Using Homebrew and New Stuff
exit
nano $HOME/.bashrc
Append this is Line:
export PATH=~/homebrew/bin:$PATH
Load the New PATH Variable:
bash
-
Test Homebrew Installation
which brew
-
Searching for New Packages with HomeBrew
brew search [packageName]
Find the List of Available and Installable Packages for HomeBrew:
-
Installing New Packages with HomeBrew
brew install [packageName]
All the New Package Installed by Homebrew will be Available because they are Installed Into the Same Location as the brew one!