Installing using MacOS X Installer
suggest changeYou can find the installers on Node.js download page. Normally, Node.js recommends two versions of Node, the LTS version (long term support) and the current version (latest release). If you are new to Node, download the macOS installer (.pkg) for the LTS line.
Other releases are listed under https://nodejs.org/dist/. Pick a version directory and download the .pkg file.
Double-click the .pkg to install. The package installs both Node.js and npm. Follow the installer prompts.
Check if Node is installed
Open terminal (if you don’t know how to open your terminal, look at this wikihow). In the terminal type node --version then enter. Your terminal will look like this if Node is installed:
$ node --version
v7.2.1
v7.2.1 in this example is the installed Node.js version. command not found: node means the install did not put node on your PATH.