Node.js is changing every day and new releases are very frequent. Here is how I stay up to date with the latest release version of Node.js.
This guide assumes you already have node.js installed and you are familiar with the command line.
curl http://npmjs.org/install.sh | sh
Or update it if you've already installed it
npm install npm
2. Install nave with npm
npm install nave
3. Use nave to run the version of your choice in a subshell
nave use 0.1.102
4. All done! Repeat from step 3 whenever a new version of node is released. By the way, npm is great, you can even use it to update itself :)
What tools do you use to stay up to date? If there is a better way, please let me know!
Aug 2 2010, 11:40 AM
Isaac Schlueter responded:
Haha, this post is basically "Use Isaac's stuff."
Nave is great for release versions, but it's also good to keep a git repo up to date with ry/master if you hack on node itself or submit patches. In my "main" shell, I'm running the latest HEAD, and then drop into the nave subshell to test on release versions.
Minor point: you don't have to do "nave install" before doing "nave use". If the version isn't already installed, it'll install it for you.
Aug 2 2010, 11:48 AM
David Trejo responded:
Thanks for the tip — I've made it one step shorter :)