node/deps/npm/doc/cli/npm-update.md

30 lines
690 B
Markdown
Raw Normal View History

npm-update(1) -- Update a package
=================================
## SYNOPSIS
2013-02-16 02:49:16 +08:00
npm update [-g] [<name> [<name> ...]]
## DESCRIPTION
This command will update all the packages listed to the latest version
(specified by the `tag` config).
It will also install missing packages. As with all commands that install
packages, the `--dev` flag will cause `devDependencies` to be processed
as well.
2014-09-25 05:41:07 +08: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-16 02:49:16 +08:00
## SEE ALSO
* npm-install(1)
* npm-outdated(1)
2013-07-12 23:55:57 +08:00
* npm-registry(7)
2013-07-25 04:23:44 +08:00
* npm-folders(5)
* npm-ls(1)