install node js express ubuntu 20.04 code example
Example: ubuntu 20 lts install node 10
# install nodejs 10.x version
sudo apt update
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
# not important, but can be done
nano nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
node install npm -g
node --version
npm --version