node update all existing packages code example Example 1: npm update all npm update --save Example 2: how to update all node libraries npm install -g npm-check-updates