Skip to content

One Line Installer

Bootstrap a fresh Drupal CMS site, or any DDEV-based project, with a single command on macOS or Linux. The installer sets up DDEV (and Docker, if missing), builds the site, and wires up coding agents (Claude Code, Codex, OpenCode), agent skills, an agent command denylist, and any provisioning you declare in a config: Composer packages, modules, recipes, and DDEV add-ons.

DDEV is the only host dependency the installer manages. Everything else (Composer, Drush, npm, the agent CLIs) runs inside the DDEV web container.

Quick start

bash <(curl -fsSL https://aibp.drupalstarforge.ai/install.sh)

To skip all interactive prompts and take the defaults:

bash <(curl -fsSL https://aibp.drupalstarforge.ai/install.sh) --yolo

The same command works on macOS and Linux; the installer detects your OS. See Getting started for what the command does to your machine, step by step.

Release and development versions

https://aibp.drupalstarforge.ai/install.sh redirects to the script published on GitLab Pages (https://project.pages.drupalcode.org/one_line_installer/drupalaibp). That script is published only when a release tag is cut, so the one-liner always runs the latest released version, never unreleased work from the development branch.

To test the current development version instead, fetch the script straight from the 2.0.x branch:

bash <(curl -fsSL https://git.drupalcode.org/project/one_line_installer/-/raw/2.0.x/drupalaibp)

What you end up with

  • A DDEV project in a new directory (default name my-drupalcms-site), reachable at https://<name>.ddev.site with admin/admin credentials.
  • Drupal CMS by default; pick standard, minimal, or a drupal.org site template instead, or build a non-Drupal project from a config.
  • The coding agents you chose, installed in the web container and started with ddev claude, ddev codex, or ddev opencode.
  • Agent skills, a command denylist, and a managed block in AGENTS.md that tells agents how to work with the site (URLs, ddev usage, secret handling).
  • Drupal configuration exported to config/sync, and optionally a new GitHub repository with the code pushed.

All questions are asked up front, so you can answer them, walk away, and come back to a finished site. Running the installer inside an existing DDEV project opens a management menu instead of building; see Getting started.

Where to go next

Requirements

macOS

  • macOS on Intel or Apple Silicon
  • Internet connection

Linux

  • Ubuntu 20.04+ / Debian 11+, or Fedora 38+ / RHEL 9+
  • sudo access
  • Internet connection

Native Windows is not supported. WSL2 with one of the Linux distributions above behaves like Linux.