Want to live life on the edge? Run wp cli update -nightly to use the latest nightly build of WP-CLI. If you’re already running the latest version of WP-CLI, you’ll see this message: WP-CLI is at the latest version. Would you like to update to 0.23.1? Īfter you accept, you should see a success message: Success: Updated WP-CLI to 0.23.1 When you run wp cli update, you’ll be prompted to confirm that you wish to update with a message similar to the following: You have version 0.21.1. installations, see the specific instructions for updating associated with each method below. Most modern plugin and theme development is being done with this version control system. Git is easy to learn and has a tiny footprint with lightning fast performance. If you installed WP-CLI using the Composer or Git Git Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. If you have installed WP-CLI using the recommended Phar method, you can update it at any time by running wp cli update (although if WP-CLI is owned by root, that may be sudo wp cli update). Wondering what to do next? Check out the quick start guide for a short introduction and some example usage. Voila! You’re now an official WP-CLI user. WP-CLI global config: /home/wp-cli/.wp-cli/config.yml WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ If WP-CLI is installed successfully, you’ll see output like this: OS: Linux 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57: x86_64 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. Then, check if it works: php wp-cli.phar -info
#Brew install docker centos download#
The project page is 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.įirst, download wp-cli.phar using wget or curl.
The recommended way to install WP-CLI WP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way.
Installing on MediaTemple Recommended installation.