First, download the WP-CLI command inside /usr/local/bin
cd /usr/local/bin curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar mv wp-cli.phar wp chmod +x wp
Add WP-CLI path to CageFS:
and inside add:
[wpcli] comment=Allow wp-cli to work on the server paths=/usr/local/bin/wp
save the file, then update CageFS to include the change:
Was this post helpful?
Let me know if you liked the post. That’s the only way I can improve. 🙂