drupal/one_line_installer

A bash installer for AI assisted tools with Drupal best practices.

Maintainers

Package info

git.drupalcode.org/project/one_line_installer.git

Issues

pkg:composer/drupal/one_line_installer

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

1.0.6 2026-06-16 14:00 UTC

This package is auto-updated.

Last update: 2026-06-16 13:02:29 UTC


README

Bootstrap a fresh Drupal CMS site with DDEV, Drush, and AI best practices in a single command on macOS or Linux.

Quick Start

bash <(curl -fsSL https://git.drupalcode.org/project/one_line_installer/-/raw/1.0.5/install.sh)

To skip all interactive prompts:

bash <(curl -fsSL https://git.drupalcode.org/project/one_line_installer/-/raw/1.0.5/install.sh) -yolo

The same command works on macOS and Linux — the installer detects your OS automatically.

What it does

  1. Detects your OS (macOS or Linux) and runs the appropriate installer
  2. Installs the required package manager tooling (Homebrew on macOS; apt/dnf repos on Linux)
  3. Installs Docker and waits for the daemon to be ready (if missing)
  4. Installs DDEV (if missing)
  5. Installs mkcert and runs the one-time CA setup (if missing)
  6. Creates a new DDEV project and installs Drupal CMS via Composer
  7. Installs Drush and the drupal/ai_best_practices module
  8. Runs site:install and exports Drupal configuration to web/config/sync
  9. Opens the site in your browser
  10. Installs the GitHub CLI (gh) if missing, walks you through authentication, and pushes the site to a new GitHub repository

The project directory is created as my-drupalcms-site in the current working directory.

Default credentials

FieldValue
Usernameadmin
Passwordadmin
Mailadmin@example.com

Requirements

macOS

  • macOS (Intel or Apple Silicon)
  • Internet connection

Everything else (Homebrew, Docker Desktop, DDEV, mkcert) is installed automatically.

Linux

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

Everything else (Docker Engine, DDEV, mkcert) is installed automatically.

Limitations

  • Windows is not supported
  • Requires sudo access for Docker Engine installation (Linux) and mkcert CA setup