Technically, sudo npm isn't running as root. It's running as that user, but with root privileges. Do files get written as the user to, say, /usr/local.
Personally, from my humble 18 year linux experience, I would not install just anything into /usr/local, only battle tested stuff. Sometimes you have to, but avoid it on production if possible. Most anything you would usually use on a internet site, production box, should use it's own user, not root, and have majority of deps be either local (like your code or npm modules) or very well tested (like pm2). -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/4f68c460-6aca-4ad1-a141-516e118f198d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
