Actually, it looks like you’re trying to use a non-interactive terminal (like a simple web shell or something) to install. You can’t do that. The install script needs a real interactive terminal. (Well, you can force it to run in a non-interactive mode, but you shouldn’t do that if you’re running it manually.)