Node.js + npm

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

Leave a Comment