Bluehost, as of the time of this post, already has a version of wp-cli, called wpcli. As an example, try running: wpcli theme status
However, this version is limited and you may find that you need more features from wp-cli. For this, you’d want to install your own version. Here’s how to proceed.
#Change to your bin directory.
#Then get wp-cli:
curl -L https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar > wp-cli.phar
#Run the following next to allow you to use the command `wp`:
echo “alias wp=’php-cli ~/bin/wp-cli.phar'” >>~/.bashrc
#This command will let our .bashrc file start working in the current terminal connection:
That’s it. You should be able to use wp-cli with the `wp` command now. Try it out:
You can use `wp –help` for more information on what commands you can run with it.