how to install the lastest version of node in ubuntu code example
Example 1: ubuntu install node js
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install nodejs
sudo apt install npm
sudo apt update
Example 2: install node js using nvm ubuntu
bash install_nvm.sh