Install Node and NPM on macOS
?
R
BashInstall Node and NPM on a fresh macOS setup. https://nodejs.org/en/
1brew update
2brew doctor
3export PATH="/usr/local/bin:$PATH"
4brew install node
5# Check installed versions
6node -v #v8.9
7npm -v #v5.5.1
8# Install an NPM package to check
9npm install -g nodemon Created on 11/8/2017