Cloud Guru Online

We simplify everything!

WP CLI tips

Install WordPress CLI

As a root user, run below commands:

curl -O
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

Leave a Reply

Your email address will not be published. Required fields are marked *