How to install latest version of Node using Brew

The latest version of NodeJs right now is 0.4.1

The command brew install node right now, installs 0.2.6 – which is not ideal. I would like 0.4.1

I’ve looked at this list of commands for brew and tried brew install --HEAD node

But that installs node 0.5-pre.

Why isn’t brew installing the right version and how can I force it to get the right one?

At this stage, it looks like it would actually be easier just to download the src and install it manually. But I would like to know what’s going on with Brew.

16 Answers
16

Leave a Comment