# WP-CLI error: Pass --path=\`path/to/wordpress\`

**URL:** <https://community.localwp.com/t/wp-cli-error-pass-path-path-to-wordpress/2333>\
**Category:** Support\
**Created:** [July 25, 2017, 9:42am UTC](https://community.localwp.com/t/wp-cli-error-pass-path-path-to-wordpress/2333 "2017-07-25T09:42:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhavikfp](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@bhavikfp](https://community.localwp.com/u/bhavikfp)\
**Post date:** [July 25, 2017, 9:42am UTC](https://community.localwp.com/t/wp-cli-error-pass-path-path-to-wordpress/2333/1 "2017-07-25T09:42:55Z")

</div>

I have changed my folder structure around by added a few lines to point to the new content folder, moved the wordpress installation into a new folder and moved the wp-config one level above the installation. I’m now getting the following error in terminal for every wp command.

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

The site is working as it should after making the changes. How can I fix this error?

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [July 25, 2017, 3:47pm UTC](https://community.localwp.com/t/wp-cli-error-pass-path-path-to-wordpress/2333/2 "2017-07-25T15:47:28Z")

</div>

Hi @bhavikfp,

You’ll need to adjust the path in `/wp-cli.yml` in the site container.

To edit it, right-click on the site in the sidebar then go to “Open Site SSH”. Then, enter `nano /wp-cli.yml` to edit the file.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2020, 6:32pm UTC](https://community.localwp.com/t/wp-cli-error-pass-path-path-to-wordpress/2333/3 "2020-08-25T18:32:20Z")

</div>

Closed on August 25, 2020, 6:32pm UTC


