WordPress 1

Script to install WordPress using WP-CLI


WP-CLI Command Builder

This tool generates a WP-CLI command to install WordPress complete with your chosen theme, plugins, and settings. Once generated, paste the command into the terminal of your web hosting account.

Before you begin
  • WP-CLI must be available on your server. Check with your host if you are unsure — not all hosts provide it by default.
  • Create your database first. The command assumes the database already exists. Create it in your hosting control panel before running the script.
  • Navigate to your web root first. The command will download WordPress to your current directory. Make sure you are in public_html, htdocs, or whichever directory your domain points to before running it.
What the command does
  1. Downloads WordPress in your chosen locale
  2. Creates wp-config.php with your database details
  3. Runs the WordPress installation
  4. Removes the default Hello Dolly and Akismet plugins
  5. Installs and activates your chosen theme
  6. Updates all installed themes
  7. Installs and activates your chosen plugins
  8. Renames the default category (if specified)
  9. Sets the permalink structure to /%postname%/
  10. Scaffolds and activates a child theme (if selected)
During the run

The command will pause twice and ask you to enter a password — once for the database password, and once to set the WordPress admin password. This is intentional: passwords are never included in the generated command so they do not appear in your shell history.

The steps are chained together, so if one step fails the rest will not run. If this happens, fix the issue and re-run from the failing step — you do not need to start over from the beginning.

Privacy

For safety and security, all details entered in this form stay in your browser. Nothing is sent to any server.


Database Configuration

Prefix must contain only letters, numbers, and underscores.

Site Configuration

Admin Configuration

Plugins

No plugins listed — install step will be skipped.

Default Category

Remove to keep the default WordPress category unchanged.
Auto-generated from the category name.

Theme

Child Theme

Notepad

Generated Command

Warning: "Install child theme" is checked but "Install theme" is not. Ensure the parent theme is already installed on the server.

Was this answer helpful?

One email a month. Endless business benefits.

Don't miss out on WMTWWFY — the newsletter that keeps your website fast, safe, and visible.

« Back
Spinner
aluminium-anthropoid Security Check