ubuntu update node 12 to 14 code example Example: update node ubuntu sudo npm cache clean -f sudo npm install -g n sudo n stable