Cloud Guru Online

We simplify everything!

WP CLI tips

Install WordPress CLI

As a root user, run below commands:

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp

Then log in as cPanel user and you can do the below tasks:

Create WordPress admin user

wp user create username email --role=administrator