The document provides steps to install Node.js and NPM on a Mac: download the installer from the Node.js website, run the installer, and confirm the installations by checking the versions of Node and NPM in the terminal.
The document provides steps to install Node.js and NPM on a Mac: download the installer from the Node.js website, run the installer, and confirm the installations by checking the versions of Node and NPM in the terminal.
1. Go to the official Node.js site https://nodejs.org/ which will
offer you two versions of Node to download. Click on the Installer that says “Recommended For Most Users”.
2. This will download the .pkg installer for Node.js.
3. Now that you've got the installer downloaded, you'll need to
run it. Simply double click on the package downloaded. Node.js installer will start installing. 4. Accept the license agreement. 5. To confirm Node is installed type node –v which will print the current version number.
6. To confirm NPM is installed type npm -v which will print its