Nicer failure message when trying to install an invalid version. Fixes #285.
diff --git a/nvm.sh b/nvm.sh
index 4ed0926..38d1f17 100644
--- a/nvm.sh
+++ b/nvm.sh
@@ -308,6 +308,11 @@
 
       [ -d "$NVM_DIR/$VERSION" ] && echo "$VERSION is already installed." && return
 
+      if [ "$VERSION" = "N/A" ]; then
+        echo "Version '$VERSION' not found - try \`nvm ls-remote\` to browse available versions."
+        return 3
+      fi
+
       # skip binary install if no binary option specified.
       if [ $nobinary -ne 1 ]; then
         # shortcut - try the binary if possible.