Update all global modules.
npm i -g update-everything
This will update ALL your globally installed modules.
This may take quite a while. And some stuff might break.
This will prompt you to be sure you want to do this.
If you're sure you're sure, you can pass a
-y flag to skip the prompt.
Also check out global-packages-cli, to list your globally-installed packages in text or JSON.