I get this error every time I try to run n to select a version. With a little quick research, it turns out the problem is that it's using sh instead of bash to run the script. See http://stackoverflow.com/questions/5098591/read-illegal-option-d#5098661
If you run it with bash that should solve the problem.
Same as #106
Closing since this has been fixed