npm update [-g] [<name> [<name> ...]]
This command will update all the packages listed to the latest version
(specified by the
It will also install missing packages. As with all commands that install
--dev flag will cause
devDependencies to be processed
-g flag is specified, this command will update globally installed
If no package name is specified, all packages in the specified location (global or local) will be updated.
Last modified January 23, 2015 Found a typo? Send a pull request!