Open your terminal and run: composer create-project drupal/recommended-project my_site_name
You must have PHP (8.1+ for Drupal 10, 8.3+ for Drupal 11) and Composer installed. 2. Manual Archive Download (.zip / .tar.gz) drupal source code download
To download the Drupal source code, you have three primary options: using for professional development, a manual archive download for quick testing, or Git for contributing to the core project. 1. Recommended: Download via Composer drupal source code download