drupal/one_line_installer
Composer 安装命令:
composer require drupal/one_line_installer
包简介
A bash installer for AI assisted tools with Drupal best practices.
README 文档
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.0/install.sh)
To skip all interactive prompts:
bash <(curl -fsSL https://git.drupalcode.org/project/one_line_installer/-/raw/1.0.0/install.sh) -yolo
The same command works on macOS and Linux — the installer detects your OS automatically.
What it does
- Detects your OS (macOS or Linux) and runs the appropriate installer
- Installs the required package manager tooling (Homebrew on macOS; apt/dnf repos on Linux)
- Installs Docker and waits for the daemon to be ready (if missing)
- Installs DDEV (if missing)
- Installs mkcert and runs the one-time CA setup (if missing)
- Creates a new DDEV project and installs Drupal CMS via Composer
- Installs Drush and the
drupal/ai_best_practicesmodule - Runs
site:installand exports Drupal configuration toweb/config/sync - Opens the site in your browser
- 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
| Field | Value |
|---|---|
| Username | admin |
| Password | admin |
| admin@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+
sudoaccess- 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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-06-15