Absolute beginner here... I'm familiarizing myself with WP-CLI, and I typed "wp shell" taking me to wp> (input box)

How do I escape wp shell and go back to ["username" /home/public] (input box)?

I'm on a Mac.


1 Answer 1


From wp-cli.org: Type "exit" to close session. Alternatively you can try hitting Ctrl+C or Cmd+C for Mac I think.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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