This is an amazingly quick way to create a fully working Drupal demo on your computer. It’s perfect for mucking about with and exploring before you take that deep dive into theme, module or software development.

Drupal Demo Requirements

  • Terminal
  • PHP 5.59+ (included with macOS)

Create a new directory for the instance and move into that directory:

mkdir drupal
cd drupal

Download the latest recommended version of Drupal into this new directory:

curl -sSL https://www.drupal.org/download-latest/tar.gz | tar -xz --strip-components=1

Start the built-in PHP web server and install the sample theme:

php core/scripts/drupal quick-start demo_umami

This will also open your browser all ready to log in.

That’s it. Easy. And of you need help then:

php core/scripts/drupal quick-start --help
Duncan McKean

Duncan McKean

Fuelled by good music and damn fine coffee.

I like your hair.