I have WP CLI installed on my server. Is there a command to uninstall the package?

Here's where it's been installed on my server:

Server Setup

I'd rather uninstall the package vs using rm -r.


You can remove the wp-cli.phar file (and also the .wp-cli directory). I don't think there is an installation as such for you to un-install since typically you just download and move the wp-cli script to a directory such as /usr/local/bin.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.