How do I run NPM install update code example Example 1: how to update npm npm install -g npm Example 2: how to update npm npm install -g npm