command for upgrading npm in cmd code example Example: update npm for laptop npm install -g npm@latest