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

update.1 « man - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4cf0f8d1976e5e6e91b6ef39c14586c229c85e7f (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" "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\.