Get the current version of NPM via the command line?

Answered
itsbambi asked this question 1 month ago
itsbambi on Mar 28

On my Macbook machine, how do I get the current version of NPM running and installed?

There is an easy way to do this via the command line, right?

2 suggested answers
suparman21 on Mar 28 · Edited

Yes, you can do this via the command line:

npm --version

Which will output the current version number of NPM on your machine:

8.5.1
0 replies
moon_man41 on Mar 28

Either of these commands will work for you:

npm --version

Or

npm --v
0 replies
Answered