https://www.centarro.io/blog/how-build-drupal-commerce-development-envir...
composer create-project drupal/recommended-project:^9.3 d9dev
cd d9dev
#prend 1.0-rc11, problème de compatibilité avec 1.0-rc12+
composer require drupal/inline_entity_form:'1.0-rc11'
composer require drupal/taxonomy_menu:'3.5 as 3.x-dev'
composer require drupal/taxonomy_term_depth:'2.5 as 2.x-dev'
composer require 'drupal/commerce:2.32 as 2.x-dev' drupal/commerce_demo:1.x-dev -W
composer require drupal/belgrade:1.x-dev drupal/commerce_bootstrap:'1.0-beta2' drupal/taxonomy_menu:'3.x-dev#8.x-3.5' drupal/taxonomy_term_depth:'2.x-dev' -W
composer require drupal/belgrade:1.x-dev
composer require drupal/commerce_shipping:2.x-dev
composer require drupal/commerce_cart_flyout:1.x-dev
composer require drupal/commerce_cart_api:1.x-dev
composer require drupal/swiftmailer:^2.0
#update the modules that you can.
composer require drupal/admin_toolbar:'^3.2.1'
composer require drupal/inline_entity_form:'^1.0-rc11'
git clone https://github.com/drupalcommerce/demo_commerce.git web/profiles/demo_commerce
cd web/profiles/demo_commerce
cd ../../../
#ddev config
#ddev start
UPDATE
composer create-project -s dev centarro/commerce-kickstart-project kickstart
cd kickstart
composer require drupal/commerce_demo:^3.0
If you are using DDEV https://ddev.readthedocs.io/en/stable/ :
ddev config
ddev start