use terminal to input for all platforms
Merge pull request #5621 from minggo/install

use terminal to input for all platforms