using composer install magento taking lot of installations code example
Example: install magento 2 command line composer
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .