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