Link to node-and-npm-in-30-seconds.
Those direction are a little outdated: the script assumes python2 is the default Python on the system. With this little tweak, you can install node as prescribed in the gist above by symlinking python to python2.
The benefit is that it may save you the trouble of combing through the comments thread in the original gist.