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.

1 Answer 1


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 agree to our terms of service and acknowledge you have read our privacy policy.

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