pablocattaneo
11/2/2018 - 8:08 PM

How to know if the packages installed are outdated and how to update its?

How to know if the packages installed are outdated? Source: https://docs.npmjs.com/cli/outdated

# Local packages
npm outdated

# Gloabl packages

npm outdated -g --depth=0


## Update

npm update

## Update gloabl packages
npm update -g

## Source: https://docs.npmjs.com/updating-packages-downloaded-from-the-registry