If you already have node of any version installed, there's a simple alternative I can recommend:
npm install -g n
and n will handle switching versions very comfortably
n 0.10.40
installs if missing and switches
n
opens a dialog in terminal where you can choose from the list with arrow keys.