On Fri, Jun 13, 2014 at 11:25 AM, Forrest Norvell <[email protected]> wrote:
> On Fri, Jun 13, 2014 at 7:06 AM, Sebastian Sester
> <[email protected]> wrote:
>>
>> since npm gets installed to /usr/local, I can't execute it without sudo.
>> Also, changing the ownership of /usr/local/… to my user (as often suggested)
>> won't help, since other users need to access it, too.
>
> Because npm only needs elevated privileges when you’re installing packages
> globally (with -g / --global), and because you should only do that when you

Also for `npm link`. Which should probably default to putting symlinks
in ~/.npm/links/, and support a `npm link -g`, for installing global
cli scripts as links to your dev env. Current scheme is an unfortunate
intermixing of global installs and links.

Sam

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

Reply via email to