Casey

Full-Stack Developer

#drupal8

Common Drupal 8.x/9.x Commands

# Update DB
COMPOSER_MEMORY_LIMIT=-1 ./vendor/bin/drush updb -y

# Clear Cache
COMPOSER_MEMORY_LIMIT=-1 ./vendor/bin/drush cr

# Update module to latest security release
COMPOSER_MEMORY_LIMIT=-1 ./vendor/bin/composer update drupal/webform

# Update module to major release
COMPOSER_MEMORY_LIMIT=-1 ./vendor/bin/composer update drupal/webform:^2

# Update core to latest security release
COMPOSER_MEMORY_LIMIT=-1 ./vendor/bin/composer update drupal/core "drupal/core-*" --with-all-dependencies