My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19.
My node version is:
I have been hit by an issue during uninstall of Node.js on my mac. I had some strange behavior like npm
is still their even after having removing it with all this.
It was because I had an old install done with macport. So you also have to uninstall it using port:
sudo port uninstall nodejs
It may have install many different versions of Node.js so uninstall them all (one by one).