npm i installs updates the existing packages code example Example: npm update specific package npm update browser-sync ------- yarn upgrade browser-sync