Cannot install CIVICRM on Drupal 9
You should replace 5.29 in the instructions with the current version. Right now it's 5.35.
And I thought the docs were updated for this but for drupal 9 you also need to add &quot;minimum-stability&quot;: &quot;dev&quot; into composer.json.
Also don't run composer as the root user.