1 .TH "NPM\-UNINSTALL" "1" "October 2016" "" ""
3 \fBnpm-uninstall\fR \- Remove a package
8 npm uninstall [@<scope>/]<package> [\-\-save|\-\-save\-dev|\-\-save\-optional]
9 npm rm (with any of the previous argument usage)
14 This uninstalls a package, completely removing everything npm installed
25 In global mode (ie, with \fB\-g\fP or \fB\-\-global\fP appended to the command),
26 it uninstalls the current package context as a global package\.
28 \fBnpm uninstall\fP takes 3 exclusive, optional flags which save or update
29 the package version in your main package\.json:
32 \fB\-\-save\fP: Package will be removed from your \fBdependencies\fP\|\.
34 \fB\-\-save\-dev\fP: Package will be removed from your \fBdevDependencies\fP\|\.
36 \fB\-\-save\-optional\fP: Package will be removed from your \fBoptionalDependencies\fP\|\.
40 Scope is optional and follows the usual rules for npm help 7 \fBnpm\-scope\fP\|\.
46 npm uninstall sax \-\-save
47 npm uninstall @myorg/privatepackage \-\-save
48 npm uninstall node\-tap \-\-save\-dev
49 npm uninstall dtrace\-provider \-\-save\-optional