blob: c127b6a114bc706b9f54dc2304cfc605c9da4ed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-UPDATE" "1" "March 2011" "" ""
.
.SH "NAME"
\fBnpm-update\fR \-\- Update a package
.
.SH "SYNOPSIS"
.
.nf
npm update [<name> [<name> \.\.\.]]
.
.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\.
|