drupal 8 update using composer code example Example: drupal composer update composer update drupal/core 'drupal/core-*' --with-all-dependencies