Magento 2 install with cli mode

Go to your root directory C:\xampp\htdocs\magento2> and run following command

php bin/magento setup:install
–base-url=”http://127.0.0.1/magento2/”
–db-host=”localhost”
–db-name=”databasename”
–db-user=”databaseuser”
–db-password=”databasepass”
–admin-firstname=”Yourname”
–admin-lastname=”Yourname”
–admin-email=”borntowinanwar@gmail.com”
–admin-user=”admin”
–admin-password=”strongpassword”
–backend-frontname=”admin”