Automated Craft 3 installation
The command line syntax for install without user input should be:

./craft install --interactive=0

There's a great article describing just such an automated approach here.