Drush can be used for installing website programmatically. However after installation, you might want to update the synchronization. Install Drupal database: Installs drupal when executed inside the drupal folder.drush site-install --db-url=mysql://dbuser:dbpass@localhost/dbname --account-name=admin --account-pass=secret -y
Remove Shortcut links:drush ev '\Drupal::entityTypeManager()->getStorage("shortcut_set")->load("default")->delete();'
Enable Synchronisation Set the UUID from the system.site.yml file present in the sync folder.drush cset system.site uuid
Update Settings.php Sync folder Change the config_sync_directory to where the sync folder is present that is to be imported. In my case its in sites/default/sync folder$settings['config_sync_directory'] = 'sites/default/sync';
Start Syncing data drush cim -y
-- http://orga.cat/posts/most-useful-drush-commands Definitive Guide to Drupal https://www.lullabot.com/articles/drupal-8-theming-fundamentals-part-1 Remove Shortcut links https://stefvanlooveren.me/blog/remove-shortcut-links-drush-drupal-10