How do I install the latest version of NPM?
Answer
Node comes with npm pre-installed, but the manager is updated more frequently than Node. Run npm -v to see which version you have, then npm install
[email protected]
-g to install the newest npm update. Run npm -v again if you want to make sure npm updated correctly. To install the latest release, use n latest .
Answer
Node comes with npm pre-installed, but the manager is updated more frequently than Node. Run npm -v to see which version you have, then npm install
[email protected]
-g to install the newest npm update. Run npm -v again if you want to make sure npm updated correctly. To install the latest release, use n latest .