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
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-08-04 23:59:38 +0400
committerisaacs <i@izs.me>2010-08-04 23:59:38 +0400
commite4f17a97c555d0ce7e4329774e20f16c87f977af (patch)
tree4b986e0babe48be0b593c304d5aec979e7a65624 /man/update.1
parent3b35584106badd14a0e1cb4d8016ccc811520464 (diff)
Docs for npm update
Diffstat (limited to 'man/update.1')
-rw-r--r--man/update.127
1 files changed, 27 insertions, 0 deletions
diff --git a/man/update.1 b/man/update.1
new file mode 100644
index 000000000..80adf2f2a
--- /dev/null
+++ b/man/update.1
@@ -0,0 +1,27 @@
+.\" generated with Ronn/v0.7.3
+.\" http://github.com/rtomayko/ronn/tree/0.7.3
+.
+.TH "NPM\-UPDATE" "1" "August 2010" "" ""
+.
+.SH "NAME"
+\fBnpm\-update\fR \- Update a package
+.
+.SH "SYNOPSIS"
+.
+.nf
+
+npm update [<pkg> [<pkg> \.\.\.]]
+.
+.fi
+.
+.SH "DESCRIPTION"
+This command will update all the packages listed to the latest version (specified by the \fBtag\fR config), as well as updating any dependent packages to use the new version, if possible\.
+.
+.P
+Additionally, it will activate the new version, and delete any old versions, if safe to do so
+.
+.P
+If the \fBupdate\-dependents\fR configuration parameter is set to \fB"true"\fR, then packages will always be updated when they are installed, if they are the newest version\.
+.
+.P
+If the \fBupdate\-dependents\fR configuration parameter is set to \fB"always"\fR, then packages will be updated when they are installed, even if to do so would be a downgrade\.