Title: wp-cli shell not working
Last modified: August 30, 2016

---

# wp-cli shell not working

 *  Resolved [Oleg A](https://wordpress.org/support/users/oleg-a/)
 * (@oleg-a)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-cli-ahell-not-working/)
 * Hi,i have installed the wp-cli for WordPress, everything works fine except the
   $wp shell command.I’m getting the same error:**“The system cannot find the path
   specified” **.I have tried all what is possible,tried to use –path=”/cygdrive/
   e/cygwin64/home/Administrator/bin” (also E:\cygwin64\home\Administrator\bin) 
   without succes. Tried cygpath -m (-a),the same error.
 *     ```
       $ php wp-cli.phar shell –debug
       Debug: No readable global config found (0.018s)
   
       Debug: No project config found (0.019s)
       Debug: ABSPATH defined: E:\cygwin64\home\Administrator\bin/ (0.036s)
       Debug: Begin WordPress load (0.037s)
       Debug: wp-config.php path: E:\cygwin64\home\Administrator\bin\wp-config.php (0.037s)
       Debug: Loaded WordPress (0.341s)
       Debug: Running command: shell (0.342s)
       **The system cannot find the path specified**
       ```
   
 *     ```
       $ php wp-cli.phar cli info
       PHP binary:     D:\xampp\php\php.exe
       PHP version:    5.6.15
       php.ini used:   D:\xampp\php\php.ini
       WP-CLI root dir:        phar://wp-cli.phar
       WP-CLI global config:
       WP-CLI project config:
       WP-CLI version: 0.22.0-alpha-d3df499
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [Oleg A](https://wordpress.org/support/users/oleg-a/)
 * (@oleg-a)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-cli-ahell-not-working/#post-6869812)
 * Ok, issue resolved. Psysh was not properly installed with composer.

Viewing 1 replies (of 1 total)

The topic ‘wp-cli shell not working’ is closed to new replies.

## Tags

 * [shell](https://wordpress.org/support/topic-tag/shell/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Oleg A](https://wordpress.org/support/users/oleg-a/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/wp-cli-ahell-not-working/#post-6869812)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
