JavaScript for WordPress Forums The WP REST API Restful WP-CLI on Windows 10

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #30166

    I hope this saves someone the time it took me to figure out the problem I experienced after installing WP-CLI and Restful WP-CLI. The problem I had was this error message: Error: ‘rest’ is not a registered wp command.

    It took me quite a while to find a solution. This is how I installed WP-CLI the Restful package and then resolved the error:

    This page describes how to install WP-CLI on Windows:

    This page describes how to install Restful WP-CLI: (Note: Run the package install command)

    At this point the rest commands should work. Not quite. It took me quite some time to find this page:

    In the Installing section it states that a minimum version is required to use the Restful package. Run this command: wp cli update –nightly After running that command the “rest” commands should work.

    Zac Gordon

    Hey Kurt, thanks for sharing this!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.