Prerequisites: You need to install and setup Ddev local, please check Setup local development environment with DDEV
In this tutorial, I will explain how to install Drupal from the existing configuration (in another tutorial I will explain how to create your own configuration from the scratch)
Drupal introduced this functionality in version 8.6.0 - Installing Drupal from configuration (only certain profiles)
For this purpose I will use already preconfigured Drupal from Sakiland Org public git repository.
git clone git@bitbucket.org:sakilandorg/drupal.git;
cd drupal;
ddev start;
ddev composer install;
npm install;
Now you can access your local site on the link https://drupal.ddev.site/
Choose appropriate language
Choose Use existing configuration and Save and continue
Configure your site with admin username, password and email address, and click on Save and continue
Now your site is ready