Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-05-14 12:22:30 +0400
committerisaacs <i@izs.me>2010-05-14 12:22:30 +0400
commit9ab3629f7a8c1cb64a722e426c849b1e0cba2edf (patch)
treedcb0d5b7f200c3babd1dadda5567cc4be7a941c6 /doc
parent14497a5c16b9bdec6bc808b977e8810ce9572195 (diff)
docs for new uninstall behavior.
Diffstat (limited to 'doc')
-rw-r--r--doc/uninstall.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/uninstall.md b/doc/uninstall.md
index 4a09b554f..58d597eba 100644
--- a/doc/uninstall.md
+++ b/doc/uninstall.md
@@ -3,11 +3,14 @@ npm-uninstall(1) -- Remove a package
## SYNOPSIS
- npm uninstall <name> <version>
- npm rm <name> <version>
+ npm uninstall <name> [<version>]
+ npm rm <name> [<version>]
## DESCRIPTION
This uninstalls a package, completely removing everything installed for it. If
-it's currently active, then it must be deactivated first. If anything is
+it's currently active, then it will be deactivated first, unless the
+`auto-deactivate` config setting is set to "false". If anything is
depending on it, then those must be uninstalled first.
+
+If the version is omitted, then all versions of a package are removed.