Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 549 Bytes

section2.2.md

File metadata and controls

17 lines (15 loc) · 549 Bytes

Section 2.2: Uninstalling packages

To uninstall one or more locally installed packages, use:

  • npm uninstall <package name>
  • npm remove <package name>
  • npm rm <package name>
  • npm r <package name>
  • npm unlink <package name>
  • npm un <package name>
  • npm uninstall --save <package name>
  • npm uninstall -S <package name>
  • npm uninstall --save-dev <package name>
  • npm uninstall -D <package name>
  • npm uninstall --save-optional <package name>
  • npm uninstall -O <package name>
  • npm uninstall -g <package name>