I have to update npm and NodeJS and I don't know how!!! I copied this code from here but it doesn't work, it doesn't update.
npm install -g npm-windows-upgrade
npm-windows-upgrade
I have to update npm and NodeJS and I don't know how!!! I copied this code from here but it doesn't work, it doesn't update.
npm install -g npm-windows-upgrade
npm-windows-upgrade
The steps I follow to update NodeJS and npm are as follows:
1) Enter the NodeJS site and download the latest version
Download NodeJS
2) Install NodeJs.msi
3) Open Node.js command prompt and see the installed version:
4) Update npm using the following command:
5) Check the version of npm
6) okay
Cheers
On Windows you need to install NVM . Once installed you can update NodeJS with the following command:
Font
I have tried several ways, and the only ones that work for me are:
Install NVM , and then run the nvm install latest command .
Remove Nodejs from your computer, and install again from the NodeJS web page .
I hope if you can organize your version problem.