My Blog
Installing WP-CLI on a shared hosting server
For those who want it, wp-cli is the wordpress command console from which you can do tasks much faster and many times with less demand resources from the system, especially if we are talking about a shared hosting server.
In order to install on a shared hosting server, the prerequisite is that you have ssh access either through the web interface of your panel or with any client such as putty and also to avoid getting into adventures and you ask me, make sure your shared hosting server is in working order linux system.
Here are the commands:
cd ~ mkdir wp-cli cd wp-cli curl -k -L https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar > wp-cli.phar echo 'alias wp="php ~/wp-cli/wp-cli.phar"' >> ~/.bashrc source ~/.bashrc
This post is also available in: Ελληνικά