I am trying to install M2.4 using composer . if i follow the guid in devdoc ,
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition . ...
This works however, all the files and folders will be created in a folder caller project-community-eidtion .. i like to download and install magento files , in the doc root .
/www/html .. this is the only project on the server.
no other subdirectory.
how can i do that ?
ok got it figured out.
composer create-project --repository-url=https:\\repo.magento.com/ magento/project-community-edition /var/www/html
will install in document root that i have specified in vhost.