npm packages update newest version code example Example: update all dependencies npm npm update //update all local packages