node/deps/npm/man/man1/npm-update.1

40 lines
835 B
Groff
Raw Normal View History

.TH "NPM\-UPDATE" "1" "January 2015" "" ""
.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
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\. 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
npm help install
2014-09-25 05:41:07 +08:00
.IP \(bu 2
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