WP-CLI over SSH – wp command not found

Found a solution here https://github.com/hrsetyono/wordpress/wiki/WP-CLI-on-Webfaction
.

This seems to be Webfaction specific issue

You simply need to open FTP and append this line in /home/yourname/.bashrc

export PATH=$PATH:$HOME/bin

Leave a Comment