Archive for the Uncategorized Category

bash: wp: command not found

| August 4th, 2017

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

The article:

http://tohamey.blogspot.com/2011/10/configuring-linux-dhcp-to-work-with.html