10 Using Composer |top| — Download Drupal
composer create-project drupal/recommended-project:^10 my-site-name Use code with caution. [Obsolete] Overview | System requirements - Drupal
Using Composer is the official and most secure way to . Unlike a manual ZIP download, Composer manages all the underlying PHP libraries (dependencies) that Drupal needs to run correctly. Prerequisites for Drupal 10 download drupal 10 using composer
Before you begin, ensure your environment meets these minimum requirements: Version 8.1 or higher. Prerequisites for Drupal 10 Before you begin, ensure
At least 1GB of RAM for the server to handle Composer operations smoothly. Database: MySQL 5.7.8+, MariaDB 10.3.7+, or PostgreSQL 12+. Step 1: Download Drupal 10 with Composer Step 1: Download Drupal 10 with Composer Version 2
Version 2.3.6 or higher is recommended for the best performance and compatibility.
To start a new project, open your terminal and run the following command. This uses the drupal/recommended-project template, which sets up a secure folder structure.