]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/cli/npm-uninstall.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / cli / npm-uninstall.md
1 npm-uninstall(1) -- Remove a package
2 =============================
3
4 ## SYNOPSIS
5
6     npm uninstall [@<scope>/]<package> [--save|--save-dev|--save-optional]
7     npm rm (with any of the previous argument usage)
8
9 ## DESCRIPTION
10
11 This uninstalls a package, completely removing everything npm installed
12 on its behalf.
13
14 Example:
15
16     npm uninstall sax
17
18 In global mode (ie, with `-g` or `--global` appended to the command),
19 it uninstalls the current package context as a global package.
20
21 `npm uninstall` takes 3 exclusive, optional flags which save or update
22 the package version in your main package.json:
23
24 * `--save`: Package will be removed from your `dependencies`.
25
26 * `--save-dev`: Package will be removed from your `devDependencies`.
27
28 * `--save-optional`: Package will be removed from your `optionalDependencies`.
29
30 Scope is optional and follows the usual rules for `npm-scope(7)`.
31
32 Examples:
33
34     npm uninstall sax --save
35     npm uninstall @myorg/privatepackage --save
36     npm uninstall node-tap --save-dev
37     npm uninstall dtrace-provider --save-optional
38
39 ## SEE ALSO
40
41 * npm-prune(1)
42 * npm-install(1)
43 * npm-folders(5)
44 * npm-config(1)
45 * npm-config(7)
46 * npmrc(5)