use issacs nave then install npm nave is usually compiles node per user, I do a global install of nave, like this:
https://github.com/isaacs/nave curl https://raw.github.com/isaacs/nave/master/nave.sh > /usr/local/ bin/nave chmod +x /usr/local/bin/nave mkdir /usr/local/lib/nave nano /usr/local/bin/nave add after 1st #! line : NAVE_DIR=/usr/local/lib/nave make sure you have openssl-dev nave use 0.6.11 install npm: curl http://npmjs.org/install.sh | sh now each time you use node 1st type nave use 0.6.11 node app.js in a bash init script: nave use 0.6.11 /dir/app.js Shimon Doodkin On Feb 26, 7:28Ā pm, Thomas <tbasse...@gmail.com> wrote: > Hi, > > After installing a bunch of version of node, npm, modules using different > ways, I managed to fuck up my installationā¦ I've deleted of files related > to node, npm and node modules to start my installation from scratch. > > I'm using Mac OS X Lion and reinstalled the official package coming with > npm bundled:http://nodejs.org/dist/v0.6.11/node-v0.6.11.pkg(instead of > using homebrew's node version like before). > > But I also need node 0.4.x for some project running on Heroku. > Unfortunately the npm version bundled with node 0.6.11 doesn't work with > node 0.4.x. And it seems that `n` and `nave` can manage node versions but > not npm versions. How would you do that? > > 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en