update node ubuntu cli code example
Example 1: update node ubuntu
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Example 2: upgrade nodejs ubuntu
npm cache clean -f
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
npm cache clean -f