node command to update all packages code example Example: how to update all node libraries npm install -g npm-check-updates