2011-11-21 09:48:45 -08:00
|
|
|
npm-update(1) -- Update a package
|
|
|
|
=================================
|
|
|
|
|
|
|
|
## SYNOPSIS
|
|
|
|
|
2013-02-15 10:49:16 -08:00
|
|
|
npm update [-g] [<name> [<name> ...]]
|
2011-11-21 09:48:45 -08:00
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
|
|
|
This command will update all the packages listed to the latest version
|
|
|
|
(specified by the `tag` config).
|
|
|
|
|
2015-01-17 00:50:09 -08:00
|
|
|
It will also install missing packages. As with all commands that install
|
|
|
|
packages, the `--dev` flag will cause `devDependencies` to be processed
|
|
|
|
as well.
|
2011-11-21 09:48:45 -08:00
|
|
|
|
2014-09-24 14:41:07 -07:00
|
|
|
If the `-g` flag is specified, this command will update globally installed
|
|
|
|
packages.
|
|
|
|
|
|
|
|
If no package name is specified, all packages in the specified location (global
|
|
|
|
or local) will be updated.
|
2013-02-15 10:49:16 -08:00
|
|
|
|
2011-11-21 09:48:45 -08:00
|
|
|
## SEE ALSO
|
|
|
|
|
|
|
|
* npm-install(1)
|
|
|
|
* npm-outdated(1)
|
2013-07-12 08:55:57 -07:00
|
|
|
* npm-registry(7)
|
2013-07-24 13:23:44 -07:00
|
|
|
* npm-folders(5)
|
|
|
|
* npm-ls(1)
|