Shell function to install/use different node versions