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