How to install and use wp-cli for Wordpress administration
We all know that WordPress is the most used Open source application these days and there are quite a lot of useful tools released for improving the client experience with that application.
The Best way to manage your Wordpress is with WP-CLI, this article will cover how to install and how to manage your Wordpress using wp-cli tool.
WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multi-site installs and much more, without using a web browser. WP-CLI provides a command-line interface for any action you might want to perform in the WordPress admin.
The Command Line Interface and it is used to execute shell commands towards the operating system of a computer. No matter if you would like to send the commands to your local computer or the web server hosting your website you will have to use a Command Line Interface in order to interact with different services.
Login into your Wordpress host and download the wp-cli
Verify the wp-cli package info
Change the permission of the wp-cli.phar file and put it in the /usr/local/bin/wp folder, this is make it available from any point in your sistem
Configure your wp-cli with your Wordpress installation
if you try to run it without the configuration setup you will get an error
Note: seems like you need to install wordpress core.
Install wordpress core using the wp-cli tools
Conclusion:
We have installed wp-cli and therefore we are ready to learn how to manage our Wordpress instance with it.
Check the next article on how to use WP-CLI with full examples and details
a