npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease [--preid=<prerelease-id>] | from-git] (run in package dir) 'npm -v' or 'npm --version' to print npm version (6.14.4) 'npm view <pkg> version' to view a package's published version 'npm ls' to inspect current package/dependency versions