how to update to latest version of npm code example Example: npm update to latest npm i -g npm@latest