Where is wp-cli?


#1

Since easyengine installs wp-cli on default could anyone tell me where the path to wp-cli is located? I did wp --info and gave this:

PHP binary: /usr/bin/php5.6 PHP version: 5.6.30-1+deb.sury.org~trusty+1 php.ini used: /etc/php/5.6/cli/php.ini WP-CLI root dir: phar://wp-cli.phar WP-CLI packages dir: WP-CLI global config: WP-CLI project config: WP-CLI version: 0.24.1

I don’t know how exactly you can access phar://wp-cli.phar. I’m using winscp as my file manager


#2

You can always use which linux command to find out a program path.

Anyway, EE installs wp-cli at /usr/local/bin/wp.

You can find it by running which wp command.


#3

BTW, how do you use wp-cli from WinSCP?


#5

not really sure as I just wanted to see if I could edit from winscp


#6