reinstall nodejs ubuntu 20.04 code example
Example 1: install nodejs ubuntu 19.04
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get update
sudo apt-get install nodejs
nodejs -v
npm -v
Example 2: install nodejs from ubuntu 18.04
sudo bash nodesource_setup.sh