update package.json command code example Example: update all dependencies npm npm update //update all local packages