Thanks, for answers. I installed it without 'sudo' by installing from 
sources via 'make install', it seems that it works ok.

> Homebrew installs a version of node which does not include npm, but 
> you can install npm afterwards manually. And I haven't seen an issue 
> with using it this way - can you elaborate on the issue?
For some reason it didn't seen packages installed globally. I don't know 
what was the cause, but after removing it and installing it from official 
osx installer this problem disappeared.

On Tuesday, March 20, 2012 6:58:39 PM UTC+4, deitch wrote:
>
> Go for the installer, but change your node dir to ~/local. That is what I 
> do, it works very well. TJ's amazing n also picks up on it.
>
> After you download, do
>
> ./configure --prefix=~/local
> make
> make install
>
> and it will do the right thing. It is available here 
> https://github.com/joyent/node/wiki/Installation
>
> You should probably also add ~/local/bin to your PATH after.
>
> On Tuesday, March 20, 2012 2:31:57 PM UTC+2, Alexey Petrushin wrote:
>>
>> As far as I know there's currently 2 ways to install node on mac:
>>
>> 1. As `brew install node`. It doesn't require sudo, but npm sometimes 
>> doesn't work as expected (can't find some packages).
>> 2. As installer from nodejs.org. It works but requires sudo. Maybe 
>> there's any way to install it without sudo?
>>
>> Thanks.
>>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to