1

I ran npm -v and it listed a version (I can't remember exactly which) something like 0.6.1.

I ran npm install nodejs-latest to try an update my package. It went to version 6.6.0

I unstalled node.js completely, redownloaded and installed from https://nodejs.org/en/

Checked npm -v and it returned 6.5.0

I ran this suggestion from stackoverflow: How can I update npm on Windows?

It lists out the versions available to install and it only goes up to 6.7.0

I'm totally lost. Why can't I get the current version of node.js on this machine?

1 Answers1

0

Npm is the Node Package Manager, when you run "npm -v" it will show you the npm version and the "node -v" will show you Node version.

To update npm version you should run npm install -g npm .

To update the node version you can download it at the NodeJs website. Or you can this steps to update.

Fernando Paz
  • 532
  • 6
  • 19