2015-01-09 06:37:26 +08:00
|
|
|
.TH "NPM\-UPDATE" "1" "January 2015" "" ""
|
2011-11-27 01:21:03 +08:00
|
|
|
.SH "NAME"
|
2014-09-25 05:41:07 +08:00
|
|
|
\fBnpm-update\fR \- Update a package
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-05 07:08:12 +08:00
|
|
|
.nf
|
2013-02-16 02:49:16 +08:00
|
|
|
npm update [\-g] [<name> [<name> \.\.\.]]
|
2014-11-05 07:08:12 +08:00
|
|
|
.fi
|
2014-09-25 05:41:07 +08:00
|
|
|
.RE
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
2011-11-27 01:21:03 +08:00
|
|
|
This command will update all the packages listed to the latest version
|
|
|
|
(specified by the \fBtag\fR config)\.
|
|
|
|
.P
|
2015-01-17 16:50:09 +08:00
|
|
|
It will also install missing packages\. As with all commands that install
|
|
|
|
packages, the \fB\-\-dev\fR flag will cause \fBdevDependencies\fR to be processed
|
|
|
|
as well\.
|
2013-02-16 02:49:16 +08:00
|
|
|
.P
|
2014-09-25 05:41:07 +08:00
|
|
|
If the \fB\-g\fR flag is specified, this command will update globally installed
|
|
|
|
packages\.
|
|
|
|
.P
|
|
|
|
If no package name is specified, all packages in the specified location (global
|
|
|
|
or local) will be updated\.
|
|
|
|
.SH SEE ALSO
|
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2011-11-27 01:21:03 +08:00
|
|
|
npm help install
|
2014-09-25 05:41:07 +08:00
|
|
|
.IP \(bu 2
|
2011-11-27 01:21:03 +08:00
|
|
|
npm help outdated
|
2014-09-25 05:41:07 +08:00
|
|
|
.IP \(bu 2
|
2014-09-17 06:38:50 +08:00
|
|
|
npm help 7 registry
|
2014-09-25 05:41:07 +08:00
|
|
|
.IP \(bu 2
|
2014-09-17 06:38:50 +08:00
|
|
|
npm help 5 folders
|
2014-09-25 05:41:07 +08:00
|
|
|
.IP \(bu 2
|
2013-07-25 04:23:44 +08:00
|
|
|
npm help ls
|
2014-09-25 05:41:07 +08:00
|
|
|
|
|
|
|
.RE
|
2011-11-27 01:21:03 +08:00
|
|
|
|