11.5. Downloading and Installing a Theme from Drupal.org
If you want to install via the website, the core Update Manager module must be installed. See Bagian 4.3, “Installing a Module” for instructions on installing modules.
If you want to use Drush, Drush must be installed. See Bagian 3.2, “Concept: Additional Tools”.
You can use the administrative interface or Drush to install a contributed theme. If you are installing a custom theme rather than a contributed theme, if you see a message saying Installing modules and themes requires FTP access to your server, or if the steps below do not work to download and unpack the theme files, follow the steps in Bagian 11.6, “Manually Downloading Module or Theme Files”. If you are installing a contributed theme with external dependencies that are managed by Composer, follow the steps for downloading in Bagian 11.9, “Using Composer and Git to Download Files”. In either of these cases, then continue here with step 7 in the instructions for the administrative interface below.
- On the theme’s project page on drupal.org (for example, https://www.drupal.org/project/mayo), scroll to the Downloads section at the bottom of the page.
Right-click tar.gz to copy the address.

- In the Manage administrative menu, navigate to Appearance (admin/appearance). The Appearance page appears.
Click Install new theme. The Install new theme page appears.

-
In the field Install from a URL, paste the copied download link. This value
could look like
https://ftp.drupal.org/files/projects/mayo-8.x-1.3.tar.gz. - Click Install to upload and unpack the new theme on the server. The files are being downloaded to the themes directory.
- Click Install newly added themes to return to the Appearance page. If you used the manual uploading procedure, start with this step, and reach the Appearance page by using the Manage administrative menu and navigating to Appearance (admin/appearance).
Locate the new theme under Uninstalled themes and click Install and set as default to use it. All non-administrative pages on the site will now use this new theme.

-
Find the project name for the theme you want to install, which is the last
segment of the theme’s project page URL. For example, if the project URL is
https://www.drupal.org/project/mayo, the project name is
mayo. Run the following Drush commands, giving the project name (for example, mayo) as a parameter:
drush dl mayo drush en mayo drush config-set system.theme default mayo
- Follow the instructions on the screen.
- In the Manage administrative menu, navigate to Appearance (admin/appearance) and uninstall any themes that you are not using.
- Bagian 11.1, “Finding Modules”
- Bagian 11.3, “Downloading and Installing a Module from Drupal.org”
- If you do not see the effect of these changes in your site, you might need to clear the cache. See Bagian 12.2, “Clearing the Cache”.
Attributions
Written and edited by Joe Shindelar at Drupalize.Me, and Boris Doesborgh.
Source file: extend-theme-install.asciidoc
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion