Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bilalqtech
Created August 2, 2017 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bilalqtech/ab1fba8fefae85c5b66ec3545a40e17f to your computer and use it in GitHub Desktop.
Save bilalqtech/ab1fba8fefae85c5b66ec3545a40e17f to your computer and use it in GitHub Desktop.
npm/yarn
Listing globally installed NPM packages and version
npm list -g --depth=0
Source: https://gist.github.com/brenopolanski/4aec3240bf30889576f9badd2e745fc3
*****
Uninstalling npm global packages
npm uninstall -g <packagename>
e.g: npm uninstall -g jshint
Source: https://docs.npmjs.com/getting-started/uninstalling-global-packages
*****
Yarn vs NPM Cheatsheet:
Source: https://shift.infinite.red/npm-vs-yarn-cheat-sheet-8755b092e5cc
PDF Version: https://infinite.red/files/yarn.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment