Skip to content

Instantly share code, notes, and snippets.

@Toltar
Created July 14, 2015 15:28
Show Gist options
  • Select an option

  • Save Toltar/cb63b4a7f50d93122c90 to your computer and use it in GitHub Desktop.

Select an option

Save Toltar/cb63b4a7f50d93122c90 to your computer and use it in GitHub Desktop.
Commands to uninstall modules and directories
//The -g flag is if you want to uninstall globally a package
//The -r flag is the recursive flag
//I will mark it as [-g] and [-r] as optional
npm rm[-r] <name>
npm r[-r] <name>
npm uninstall [-g] <name>
npm un [-g] <name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment