Skip to content

Instantly share code, notes, and snippets.

@eesa1980
Last active May 13, 2022 10:15
Show Gist options
  • Save eesa1980/35c6655017bbf0641340a3c61c3b5ee0 to your computer and use it in GitHub Desktop.
Save eesa1980/35c6655017bbf0641340a3c61c3b5ee0 to your computer and use it in GitHub Desktop.
npm version tags #npm

major: npm version major

minor: npm version minor

patch: npm version patch

npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease [--preid=<prerelease-id>] | from-git]

'npm [-v | --version]' to print npm version
'npm view <pkg> version' to view a package's published version
'npm ls' to inspect current package/dependency versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment