Answers for "how to check if npm is installed"

5

check npm version

npm -v
Posted by: Guest on April-26-2020
0

check if a npm package is installed

npm list [package-name] || npm list -g [package-name]
Posted by: Guest on November-23-2020
0

how to check if npm is installed

npm -v

this shows the current version of npm installed, if it says it is not recognized then you don't have it installed yet
Posted by: Guest on October-29-2021

Code answers related to "how to check if npm is installed"

Browse Popular Code Answers by Language