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