How to Install Homebrew on Mac

How to Install Homebrew on Mac

Posted by · 4776 views · Translate
These are instructions on how to install Homebrew on your Mac.

Homebrew is a package manager that "installs the stuff you need that Apple (or your Linux system) didn't." It's very useful for install packages like node, git, wget, yarn, ffmpeg, youtube-dl, etc.

Step One
Launch Terminal from Applications > Utilities.How to Install Homebrew on Mac

Step Two
Enter the following command into the Terminal window...

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
How to Install Homebrew on Mac

Step Three
Input your administrative user password when prompted.
How to Install Homebrew on Mac

Step Four
Press the Return key to continue.
How to Install Homebrew on Mac

Step Five
Homebrew will now install. This could take a few minutes.
How to Install Homebrew on Mac

Step Six
Homebrew will show you the two commands that need to be run to add the package manager to your path.
How to Install Homebrew on Mac

Execute these commands in the Terminal window.
How to Install Homebrew on Mac

How to Install Homebrew on Mac

Step Six
You can now search for a package and install a package using Homebrew.

Search for package using "brew search [term]"
How to Install Homebrew on Mac

Install a package using "brew install [packagename]"
How to Install Homebrew on Mac

How to Install Homebrew on Mac

To keep Homebrew updated, run "brew update" periodically in Terminal.
Recent