We PHP developers have been lucky in the past. For the most part, newer versions of PHP haven't broken old versions of plugins, scripts, or apps. Most packages and plugins are backwards compatible and having to manage language versions has not even been an afterthought. Other serverside counterparts haven't been as fortunate though. If one looks at the language changes between iterations of something like Ruby there are huge changes and many things that cause compatibility issues. Node itself has package compatibility issues. No langauge is perfect, PHP included. So how do you handle this?
Enter RVM for Ruby. RVM stands for ruby version manager. It nicely keeps and manages multiple versions of the Ruby language as well as gems. PHP unfortunately doesn't have something like this. Node on the other hand does. It is called n and it is written by the same guy who wrote Jade, Mocha, and Express: TJ Holowaychuk.
You can find the info on n here. Essentially it is a swiss army knife for node and you can install it simply by typing: npm install -g n
To get you started I will outline a few of the notables below:
//Install a version of node n <version number> //Tells you what the latest stable release is. n --stable //What is the latest bleeding edge release is. n --latest //Tells you the bin path for that version of node n bin <version> //Uses X.X.X version of node with the arguments you provide. n use <version> [args ...]
For more info on things just run n -h for the help menu.