See also the DDEV section: Notes > DDEV
DDEV Drupal 9 Quickstart
ddev-drupalcreate.sh (GitHub link) A script for automating the DDEV quickstart. It also does some basic configuration like adding common modules.