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