linux update node and npm code example
Example 1: linux command to update nodejs
wget https://nodejs.org/dist/v12.13.1/node-v12.13.1-linux-x64.tar.xz
Example 2: linux command to update nodejs
sudo apt-get install xz-utils
wget https://nodejs.org/dist/v12.13.1/node-v12.13.1-linux-x64.tar.xz
sudo apt-get install xz-utils