bash: wp: command not found
| August 4th, 2017WP-Cli
After installing WP-CLI as in here: http://wp-cli.org/
executing wp gives the error:
bash: wp: command not found
For me the problem was that the system didn’t have the directory /usr/local/bin in the PATH, to add it:
PATH=$PATH:/usr/local/bin
export PATH
wp should work now if installed correctly