Run in CLI (remove 'sudo' on Windows).
Node.js version
sudo node --version
Node.js update
sudo npm cache clean -f sudo npm install -g n sudo n stable
npm version
sudo npm --version
npm update
sudo npm install -g npm@latest
Run in CLI (remove 'sudo' on Windows).
sudo node --version
sudo npm cache clean -f sudo npm install -g n sudo n stable
sudo npm --version
sudo npm install -g npm@latest