Installing Moodle using command line
From MoodleDocs
Moodle 2.0
Command line installation is recommended only for experienced server administrators. Please note you have to execute the installation script as the same user used for apache. Command line installation is not compatible with Windows platforms.
You'll find more information on Administration via command line page.