COMMANDS: [http://wp-cli.org/commands/]

install WPCLI

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Next, we will set the permissions to make it executable. Enter the following command:

chmod +x wp-cli.phar

Optionally, we can move wp-cli.phar to a folder and rename it to wp. This will help us use the WP-CLI commands by just typing ‘wp’ at the start of the commands.

sudo mv wp-cli.phar /usr/local/bin/wp


wp help cache

  • web_development/wordpress/wp-cli.txt
  • Last modified: 2020/10/09 04:10
  • by jimboobrien