wp-cli: wp core download "does not seem to be a WordPress install"

wp core download --force Now that I have upgraded wp-cli (My previous version was just before you added the --allow-root flag) I can no longer run the “wp core download” command. I have an empty directory I’ve navigated to, and its’ permissions are +rwx 0755.

wp core download --force Error: This does not seem to be a WordPress install. Pass --path=path/to/wordpress or run wp core download.

You can imagine the frustration from the command wp core download telling you to run wp core download

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 23 (8 by maintainers)

Most upvoted comments

Not sure what this is, but it seems to be a problem specific to your environment. Sorry I can’t help further.

I ran into this issue and discovered that not all wp-cli’s are created equal. I was NOT able to run wp core download when I first installed wp-cli in my docker container using composer create-project wp-cli/wp-cli-bundle --no-dev. However, when I installed wp-cli using the PHAR (i.e. curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) I was able to run wp core download in an empty directory and get a fresh download of WP 6.1.1 with no errors … (aside from the PHP 8.1 deprecation notices. See https://github.com/wp-cli/wp-cli/issues/5623)