xxxxxxxxxx
npm list [package-name] || npm list -g [package-name]
xxxxxxxxxx
local packages:
~$ npm list
globally installed packages:
~$ npm list -g
specific package:
~$ npm list <package>
xxxxxxxxxx
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
xxxxxxxxxx
npm view <package_name> version <-- latest remote version
npm view <package_name> versions <-- all available remote versions