Install WP CLI

Task: Install WP CLI tools


  1. Download wp-cli.phar
    curl -O
  2. Verify it:
    php wp-cli.phar --info
  3. Add executable attribute:
    chmod +x wp-cli.phar
  4. Move to bin directory with 'wp' name:
    sudo mv wp-cli.phar /usr/local/bin/wp
  5. Test it working:
    wp --info


Leave a Reply

Your email address will not be published. Required fields are marked *

Enter Captcha Here :