---
title: "Upgrading Drupal core to the latest version of 10.x"
date: "2024-10-30T13:43:20+00:00"
summary: "Upgrade Drupal core to 10.x: Step-by-step guide for CKEditor 5 migration, module updates, and post-upgrade tasks."
image:
type: "page"
url: "/drupal-starter-kits/upgrading-drupal-core-latest-version-10x"
id: "b21b1044-71a9-4fa4-adce-d41e11f15fab"
---

Rebranding notice!

Acquia announces rebranding of its “Acquia CMS” offering, which includes a collection of Drupal modules. “Acquia CMS” is now referred to as “Drupal Starter Kits”.

Use the following steps to update the text format to use CKEditor 5, remove the old CKEditor, and upgrade your Drupal core version to the latest version.

1.  Switch from CKEditor 4 to CKEditor 5.
    1.  Install the CKEditor 5 module with the following command:
        
            ./vendor/bin/drush en ckeditor5
        
    2.  Click **Configuration** > **Content authoring** > **Text formats and editors**.
        
        Alternatively, append `/admin/config/content/formats` to your application name.
        
    3.  Update each text format, such as Filtered HTML and Full HTML, to use CKEditor 5.
        
        For more information, see [Using the CKEditor5 text editor for the “Site Studio” text format.](/drupal-starter-kits/integrating-acquia-dam-drupal-starter-kits "Integrating Acquia DAM with Drupal Starter Kits")
        
    4.  Uninstall any previous version of the CKEditor module.
        
            ./vendor/bin/drush pmu ckeditor
            
            ./vendor/bin/drush cex
        
    5.  Commit all changes, deploy them to your development environment, and run the following commands:
        
            ./vendor/bin/drush cr
            
            ./vendor/bin/drush cim --yes
            
            ./vendor/bin/drush updb --yes
        
    6.  Verify that the site in your development environment works as expected.
2.  Upgrade your Drupal core version.
    1.  Remove incompatible and insignificant modules.
        
            composer remove drupal/upgrade_status
            
            Composer remove acquia/http-hmac-php
        
    2.  Add the HAL module to the codebase because it is removed from Drupal core 10.
        
            composer require 'drupal/hal:^2.0'  --no-update --no-install
        
    3.  Add the latest version of core and contrib module.
        
        You can remove modules that are not used in the project. For example, [Webform](https://www.drupal.org/project/webform) and [Google Analytics](https://www.drupal.org/project/google_analytics).
        
            composer require "drupal/core-composer-scaffold:^10" "drupal/core-recommended:^10" drupal/webform:^6 drupal/google_analytics:^4 drush/drush:^12 --no-update --no-install
        
    4.  Install the latest Drupal core and its required dependencies with the following command:
        
            composer update -W
        
    5.  Perform post upgrade activities.
        
            ./vendor/bin/drush cr
            ./vendor/bin/drush updb -y
            
            ./vendor/bin/drush cex
            ./vendor/bin/drush coh:import
            
            ./vendor/bin/drush coh:rebuild
        
    6.  Commit all the changes, deploy them to your development environment, and run the following commands:
        
            ./vendor/bin/drush cr
            
            ./vendor/bin/drush cim --yes
            
            ./vendor/bin/drush updb --yes
        
    7.  Verify that the site in your development environment works as expected.