install node version in ubunutu code example
Example 1: install node js using nvm ubuntu
bash install_nvm.sh
Example 2: install nodejs from ubuntu 18.04
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
bash install_nvm.sh
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh