diff options
author | isaacs <i@izs.me> | 2010-05-14 12:22:30 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-14 12:22:30 +0400 |
commit | 9ab3629f7a8c1cb64a722e426c849b1e0cba2edf (patch) | |
tree | dcb0d5b7f200c3babd1dadda5567cc4be7a941c6 /doc | |
parent | 14497a5c16b9bdec6bc808b977e8810ce9572195 (diff) |
docs for new uninstall behavior.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/uninstall.md | 9 |
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. |