I've been running around in circles for quite some time now with trying to figure out how to install Drupal 8/9 using all the various methods provided in the docs. And before you give me a direct link (RTFM) please know I have read almost every post regarding installing composer/drush and D8.
There is something I'm missing because I cannot for the life of me figure this out. I can install a D8/9 site manually without issue, but I want to learn how to be more efficient and as I understand it that means learning composer and/or drush.
All the documentation I've found about using the recommended-project template with composer to install Drupal (version 9) lacks detail and explanation.
I want to put my Drupal 9 site in ~/Sites/drupal9.
Exactly how do I do that with recommended-project via composer? Specifically:
What are the advantages and disadvantages of the following ways to install a local Drupal development environment on a Mac (macOS Catalina)?
Under MAMP/MAMP Pro (with its built-in apache, mysql, php, phpmyadmin)
In Docker
With MacPorts installation of apache, mysql, phpmyadmin, php (including composer.phar) already installed
Among criteria would be: ease of additional installation steps; ease of adding modules not in core; ease of updating modules and Drupal itself; and responsiveness of Drupal; and size of installation.