node js latest version through command for ubuntu code example
Example 1: node install ubuntu
# Through nodesource
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install nodejs
Example 2: udpate node terminal windows
#Run PowerShell as Admin
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade