how to install node 12 code example
Example 1: 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
Example 2: linux install node
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -