From the course: WordPress: WP-CLI

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing WordPress using WP-CLI

Installing WordPress using WP-CLI - WordPress Tutorial

From the course: WordPress: WP-CLI

Start my 1-month free trial

Installing WordPress using WP-CLI

- While your hosting company or a local environment likely makes it very easy for you to install WordPress, you do have the ability to do the installation through WP-CLI. But before we get to that, there are a few things you'll need to set up. The first is, you'll need access via SSH to your server. The process for gaining SSH access is different for every hosting company. Some will provide you a with SSH credentials automatically. Some will require you to generate a private key to be used as your SSH key. Be sure to check your hosting companies documentation to learn how to do this. There's also a slightly added complexity for local environments like Local or newer ones like DevKinsta, where they essentially spin up a virtual machine or a server for each site. You may run into trouble if you're trying to run a WordPress installation on Local because it already does the installation for you. And, you'll need to…

Contents