Knowledge for the World

How to install Homebrew on macOS

1

Open the Terminal app. Using Spotlight, hit cmd + space bar and search for Terminal.

2

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
3

To update Homebrew, run:

brew update
4

To upgrade local packages, run:

brew upgrade