Answers for "npm versions syntax"

11

npm check package version

local packages:
~$ npm list

globally installed packages:
~$ npm list -g

specific package:
~$ npm list <package>
Posted by: Guest on March-29-2020
3

checking the npm version

// Any of the below command will work.

npm -v
npm --v
npm -version
npm --version
Posted by: Guest on June-08-2021

Browse Popular Code Answers by Language