How we can install magento 2.2.0 via command line comand?

 php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="magento_2_db" --db-user="root" --db-password="root" --base-url="http://local.magento.com/" --base-url-secure="https://local.magento2.com/" --admin-user="admin" --admin-password="admin123" --admin-email="[email protected]" --admin-firstname="Pramod" --admin-lastname="Kharade"

Yes, You can install using Command. Magento 2 has ability do that:

php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ \
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento \
--admin-firstname=Magento --admin-lastname=User [email protected] \
--admin-user=admin --admin-password=admin123 --language=en_US \
--currency=USD --timezone=America/Chicago --use-rewrites=1

See more at Magento Dev doc: http://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-install.html