Step 1: Downloading
To Install Node JS please navigate to https://nodejs.org/en/download/ and download your version. Always use LTS versions. Don’t use latest version because it might cause errors.
If you want to install previous version of node, goto http://nodejs.org/dist/ then download your required versions
Step 2: Installing Node JS
Once you downloaded node JS, please open the downloaded file & proceed to installation process. It’s common as every software installation.
Step 3: Verifying installation
If you complete the installation process, you can open a new terminal/command prompt and execute following commands
node -v npm -v
If it is showing any error related like “command not found”, you have some issue with installation. otherwise you can see the version’s of node and npm