Step 1: Get the code
The current/latest release is always available on the downloads page. However, the recommended way to obtain the Drupal source code is by using Composer – the PHP dependency manager. Read Downloading Drupal Core using Composer in the Developer Guide for Using Composer for more information. Using Composer requires command-line access on the machine hosting your site.
If Composer is not an option for you, detailed instructions with screenshots for manual installation are available in Section 3.3 of the Drupal 8 User Guide.
Developers and Contributors
If you want to contribute to development, you should download Drupal using git. There is an entire documentation section on using git with Drupal, but you can find the basic instructions by visiting the project page for Drupal and opening the Version Control tab.
Note: If you are installing Drupal using git, be sure to read the “Install dependencies using Composer” page in this guide.
Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.