How to update Drupal core and it's dependencies using composer

Submitted by gazza on Sat, 18/07/2020 - 13:59

Below is the command line code that you can copy and paste into your favorite command line terminal.

composer update drupal/* --with-dependencies

If you are using Plesk, you can access composer globally byusing the following command. Obviously change the php version to the one you are using.

/opt/plesk/php/7.4/bin/php /usr/lib64/plesk-9.0/composer.phar update drupal/* --with-dependencies