outdated packages in your package.json code example Example 1: npm update all npm update --save Example 2: npm update syntax npm outdated -g --depth=0