drupal drush module install code example
Example 1: drupal 8 drush set module version
drush ev "\Drupal::keyValue('system.schema')->set('my_nice_module', (int) 8149)";
Example 2: drupal 7 drush update module
drush up [module]
drush ev "\Drupal::keyValue('system.schema')->set('my_nice_module', (int) 8149)";
drush up [module]