2
Q:

install magento 2 using composer

1
 composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <install-directory-name>
1
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .
1

New to Communities?

Join the community