.TH "NPM\-UPDATE" "3" "October 2016" "" "" .SH "NAME" \fBnpm-update\fR \- Update a package .SH SYNOPSIS .P .RS 2 .nf npm\.commands\.update(packages, callback) .fi .RE .TH "DESCRIPTION" "" "October 2016" "" "" .SH "NAME" \fBDESCRIPTION\fR .P Updates a package, upgrading it to the latest version\. It also installs any missing packages\. .P The \fBpackages\fP argument is an array of packages to update\. The \fBcallback\fP parameter will be called when done or when an error occurs\. .SH SEE ALSO .RS 0 .IP \(bu 2 npm help update .RE