how to update npm packages for the site code example Example 1: npm update all npm update --save Example 2: update npm npm install -g npm@latest