How to upgrade npm debug to latest version using Ubuntu terminal code example Example: upgrade npm version npm install -g npm@latest