Install Node.js and NPM
3 Simple steps to install Node.js ans NPM on OSX Server.

1. Install Xcode
2. Install Homebrew
Open Terminal and type:
3. Install Node.js
Open Terminal and type:
To make sure you have Node and NPM installed, run two simple commands to see what version of each is installed:
Update Node and NPM:
Uninstall Node and NPM:
2. Install Homebrew
Open Terminal and type:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
3. Install Node.js
Open Terminal and type:
brew install node
To make sure you have Node and NPM installed, run two simple commands to see what version of each is installed:
node -v
npm -v
Update Node and NPM:
brew update
brew upgrade node
Uninstall Node and NPM:
brew uninstall node