install nodejs on ubuntu 18.04 using nvm code example
Example 1: installing nvm on ubuntu 18.04
nvm install 12.18.3
Example 2: install node js using nvm ubuntu
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh