FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.44k stars 639 forks source link

Move from `sudo -H npm install` ? #1498

Open RoneoOrg opened 2 years ago

RoneoOrg commented 2 years ago

Hi there,

using sudo -H npm install brings sudo and npm install too close from each other IMO 😅

Other workarounds are available:

https://jesse.sh/sudo-npm-install-g-is-an-antipattern

Should the documentation favor these workarounds?