2015-02-06 01:14:25 -08:00
|
|
|
.TH "NPM\-UPDATE" "1" "February 2015" "" ""
|
2011-11-26 09:21:03 -08:00
|
|
|
.SH "NAME"
|
2014-09-24 14:41:07 -07:00
|
|
|
\fBnpm-update\fR \- Update a package
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-04 15:08:12 -08:00
|
|
|
.nf
|
2013-02-15 10:49:16 -08:00
|
|
|
npm update [\-g] [<name> [<name> \.\.\.]]
|
2014-11-04 15:08:12 -08:00
|
|
|
.fi
|
2014-09-24 14:41:07 -07:00
|
|
|
.RE
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
2011-11-26 09: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 00: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-15 10:49:16 -08:00
|
|
|
.P
|
2014-09-24 14:41:07 -07: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-26 09:21:03 -08:00
|
|
|
npm help install
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2011-11-26 09:21:03 -08:00
|
|
|
npm help outdated
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2014-09-16 15:38:50 -07:00
|
|
|
npm help 7 registry
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2014-09-16 15:38:50 -07:00
|
|
|
npm help 5 folders
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2013-07-24 13:23:44 -07:00
|
|
|
npm help ls
|
2014-09-24 14:41:07 -07:00
|
|
|
|
|
|
|
.RE
|
2011-11-26 09:21:03 -08:00
|
|
|
|