Install WP CLI
Task: Install WP CLI tools
Implementation:
- Download wp-cli.phar
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar - Verify it:
php wp-cli.phar --info - Add executable attribute:
chmod +x wp-cli.phar - Move to bin directory with 'wp' name:
sudo mv wp-cli.phar /usr/local/bin/wp - Test it working:
wp --info
Done.