Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As per the Homebrew site, paste the following in a macOS Terminal prompt.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
This acton will install Homebrew on your OSX. Using the following command you can check the brew version
$ brew -v
Subscribe to nodejs