npm upgrade package save code example Example: update all dependencies with npm npm i -g npm-check-updates ncu -u npm install