Installing WordPress using wp-cli and SSH

 

Overview

wp-cli, the command-line tool built into all DreamHost servers, lets you install WordPress by downloading a fresh copy of your WordPress files directly on your server over SSH.

Background

wp-cli is a command-line tool, built into all DreamHost servers, which you can use to manage your WordPress site. If you do not wish to use the DreamHost WordPress installer in the panel, you can use this tool to download a new copy of your WordPress files.

How do I install WordPress using wp-cli?

  1. Log in to your server via SSH.
  2. Navigate to your website's directory.
  3. Run the following command to download all WordPress files:
    [server]$ wp core download
  4. Visit a site in your browser to complete the installation process.

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?