I've dug around a bit, and there seems to be some different opinions about
whether or not to use npm with sudo - mainly to do with global installs,
creating symlinks etc.

For example, when setting up a new personal machine (mac or linux), I would
chown /usr/local to belong to my login user, hence not having to sudo
global npm actions. If I were to use the superuser later for whatever
reason, then that trumps any lower permissions, and so on.

What's the canonical opinion about this? Would this advice differ from
development environments to production ones..?

Dan

-- 
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/CACTUpAfubXUsoHH46LJR39r9xbERqGe5W_Gsbz43yq%3D3As8bEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to