ubuntu updating npm code example Example 1: update npm version ubuntu npm install -g npm Example 2: update npm ubuntu update npm ubuntu