The advantage to installing Drupal using composer is that you can easily install other components, libraries, and themes which are designed to be installed using composer.
Installation Instructions:
Using your terminal, navigate to the directory that you are using to store your Drupal projects, and then run the following command:
For Drupal 9composer create-project drupal/recommended-project:9.5.0 project_name
For Drupal 10composer create-project drupal/recommended-project project_name