how to install node js latest version in ubuntu 18.04 code example
Example 1: install nodejs from ubuntu 18.04
sudo bash nodesource_setup.sh
Example 2: ubuntu 18.04 nodejs insatll
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -