WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

Update Drupal via composer

Submitted by barnettech on Tue, 12/09/2014 - 09:54
composer update "drupal/core*" "drupal/*" --with-dependencies

https://www.drupal.org/docs/updating-drupal/updating-modules-and-themes…
To update core, all outdated modules and theme, update the db, clear the cache:

composer update "drupal/*" --with-all-dependencies
drush updatedb
drush cache:rebuild

Or update a single module with

composer show drupal/openai_search --all | grep versions

versions : * 2.0.9, 2.0.8, 2.0.7, 2.0.6, 2.0.5, 2.0.4, 2.0.3, 2.0.2, 2.0.1, 2.0.0, 1.0.0

composer update drupal/openai_search --with-dependencies