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 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |