Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Teachable.

Check Node and npm version

Summary

To check your Node version, enter the following command in your terminal:

node -v

To check your npm version, enter the following command in your terminal:

npm -v

Details

After entering either of the above commands, you should see a version number print out.

If you have Node installed and enter the node -v command, you should see something similar to the following print out (your version number may be different):

v10.16.0

If you have npm installed and enter the npm -v command, you should see something similar to the following print out (your version number may be different):

6.9.0

Exercises

Run node -v and npm -v in your terminal.

Reference

Checking your version of npm and Node.js | npm Documentation

Back to: npm Reference > npm Setup