Drush

Views:2

Create an Admin User using Drush

Creates a new user with a specified username and password.
Create an Admin User using Drush
              

/**
* Create a new user with a password.
*/
drush user:create username --mail=user@example.com --password=password;
 


Install and uninstall a module with drush in Drupal

Install/Uninstalls a module from Drupal. When uninstalling, this also removes any associated configuration.
Install and uninstall a module with drush in Drupal
              

/**
* Enable a specific module.
*/
drush en module_name -y;
 

/**
* Uninstall a specific module.
*/
drush pm:uninstall module_name -y;