Skip to main content
Last Reviewed: 2021-03-31

Upgrade a Site That Was Created With an Empty Upstream to the Latest Version of Drupal

Prepare


  1. Review the documentation on Git, Composer, and Terminus, and install and configure them on your local computer. Pantheon requires Composer 2, at minimum.

    • Mac users can use Homebrew to install Git, Composer, and PHP, along with their required dependencies. Restart the shell or terminal environment after entering the following command:
    • Windows users can install Composer and Git, and may need to install XAMPP or similar to satisfy some dependencies.
  2. Set the temporary variable $SITE in your terminal session to match the name of your site.

    This doc uses several commands that use the temporary command line alias, $SITE, to make entering command examples easier. Refer to the steps further in this doc to see which sites should be aliased (it may be more than one), then replace anita-drupal in this example: