npm and nodejs
npm is package manager utility simiar to like apt, pip, brew. Below is the npm installation commands:
$ sudo apt-get update
$ sudo apt-get install curl
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt-get install nodejs
this will install current release version of npm... use the following commands to check node versions
npm -v
node -v