install magento 2 command line composer 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 .