|
|
|
.TH "NPM\-UPDATE" "1" "October 2014" "" ""
|
|
|
|
.SH "NAME"
|
|
|
|
\fBnpm-update\fR \- Update a package
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
|
|
|
.RS 2
|
|
|
|
.nf
|
|
|
|
npm update [\-g] [<name> [<name> \.\.\.]]
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
|
|
|
This command will update all the packages listed to the latest version
|
|
|
|
(specified by the \fBtag\fR config)\.
|
|
|
|
.P
|
|
|
|
It will also install missing packages\.
|
|
|
|
.P
|
|
|
|
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
|
|
|
|
npm help install
|
|
|
|
.IP \(bu 2
|
|
|
|
npm help outdated
|
|
|
|
.IP \(bu 2
|
|
|
|
npm help 7 registry
|
|
|
|
.IP \(bu 2
|
|
|
|
npm help 5 folders
|
|
|
|
.IP \(bu 2
|
|
|
|
npm help ls
|
|
|
|
|
|
|
|
.RE
|
|
|
|
|