Install Node / NPM via Homebrew

Posted one month ago

Homebrew is a package manager for Mac, if you haven’t already installed it go ahead and follow this link https://brew.sh/

To install node run these commands.


$ brew update
$ brew uninstall node
$ brew install node
$ brew postinstall 

Note: the uninstall node may fail if you don’t have node installed on your machine currently, this just makes sure to remove any hangover files from potential previous installs.