install nodejs 12 linux code example
Example 1: linux install node
sudo apt install nodejs
Example 2: install node 12 linux
sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt -y install nodejs