How to install magento 2 using composer into current <root> directory of domain ( without creating subdirectory )?

Just use DOT in the end as current directory, like this:

composer create-project --repository=https://repo.magento.com/ magento/project-community-edition .