debian node update code example
Example: update node version debian
sudo npm cache clean -f
sudo npm install -g n
curl -sL https://deb.nodesource.com/setup_current.x | sudo bash -
sudo apt-get install nodejs
sudo npm cache clean -f
sudo npm install -g n
curl -sL https://deb.nodesource.com/setup_current.x | sudo bash -
sudo apt-get install nodejs