Skip to navigation
Install WP-CLI
29.12.19
Recommended installation #Recommended installation The recommended way to install WP-CLI is by downloading the Phar build (archives similar to Java JAR files, see this article for more detail), marking it executable, and placing it on your PATH. First, download wp-cli.phar using wget or curl. For example: curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar Then, check if it works: php wp-cli.phar --info To be able to type just wp, instead of php wp-cli.phar, you need to make the file executable and move it to somewhere in your PATH. For example: chmod +x wp-cli.phar sudo mv wp-cli.phar /usr/local/bin/wp
https://make.wordpress.org/cli/handbook/installing/
Reply
Anonymous
Information Epoch 1745985267
Avoid captive user interfaces.
Home
Notebook
Contact us