Checks if Node.js and NPM are installed, retrieves the installed version numbers, and fetches the version numbers for the latest releases.
For your own safety always check shell files before you run them from the internet https://raw.githubusercontent.com/psyrendust/nodejscheck/master/nodejscheck.
1. Using cURL
curl -sSL https://raw.githubusercontent.com/psyrendust/nodejscheck/master/nodejscheck | bash2. Using Wget
wget -qO- https://raw.githubusercontent.com/psyrendust/nodejscheck/master/nodejscheck | bash