upgrade drupal 8 to 9 composer code example Example: drupal 8 composer update composer update drupal/core "drupal/core-*" --with-all-dependencies