Matt Matt - 1 year ago 432
Node.js Question

How do I update devDependencies in NPM?

npm update
seems to just update the packages in
, but what about

Right now you can install
by running
npm install .
, but this doesn't work for
npm update .

Any ideas?

Answer Source

To update package.json in addition to the local modules, run

npm update --save-dev

Alternatively, the same command to save time

npm update -D

You can view the full detail of update, or any command for that matter through

npm help <cmd>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download