This question seems to be really old. No Composer involved now a days to install wp-cli. Just curl, chmod, and copy the file as indicated in http://wp-cli.org/ (:
Now, if anyone wants to add a specific include_path for wp-cli to be aware of (which is how I found this Q) there’s 2 options: set a WP_CLI_PHP environment variable OR set include_path in a local php.ini file and modify the wp script to add the -c option after /path/to/php
.
Related Posts:
- wp-cli displays php notices when display errors off
- How to use command ‘wp post create’ in wp-cli properly?
- Generate WP-CLI @alias for each site on multisite
- How do I set and list page_template with wpcli?
- How do I pass an array as an argument to a WP-CLI command?
- How to disable XML-RPC from Linux command-line in a total way?
- How can I get a link path to use for my resources such as JS scripts?
- Get WP CLI to hide debug warnings and notices in JSON output, same setting as website
- How to change a post attribute to homepage using WP CLI?
- Shortest way to install WP-CLI
- WP Cli will not execute on Windows
- Error updating WP-CLI
- How to retrieve text only from a post using WP CLI?
- wp search-replace (not executing)
- Running custom defined WP-CLI commands without WordPress installation present
- How can I list all installed plugins/themes/versions from CLI/API?
- wp-cli for Creating page-template
- What is procedure to let set path in wordpress?
- What setting should I configure to move new site folder?
- Bulk update published posts date randomly using wp-cli?
- Using the WP CLI to output the HTML results of calling a post?
- bash script wp-cli search-replace 0 replacements, but command-line 3000+
- Difference between how to set path to the theme folder
- How to add a breadcrumb to WordPress header?
- proper syntax of getting wp-admin pages/links
- Absolute path in WordPress Network site
- Including $_SERVER[‘DOCUMENT_ROOT’] to load files outside of wordpress installation doesn’t work remotely
- How to pretty print XML from the command line?
- How do I copy a folder from remote to local using scp?
- What does cmd /C mean?
- Why do JVM arguments start with “-D”?
- How do I make a python script executable?
- Run C++ in command prompt – Windows
- Run R script from command line
- How to count lines in a document?
- Install oAuth PECL error: Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user
- WP CLI “Error establishing a database connection” in localhost (MAMP)
- Determining WordPress’ Version from the Host’s Command Line?
- Running WordPress on the Command Line – Turn off Delayed Output?
- How do I run a PHP script from WordPress environment, like `wp shell`?
- Using wp-cli can I not query pages by their title?
- How can I batch delete all unattached images with WP-CLI or other automated process?
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- WordPress test environment on windows
- How do I activate an mu-plugin with WP-CLI?
- How to create a WP-CLI command with $_POST?
- How to display a raw HTML page (bypassing WordPress theme, scripts, etc)
- WP-CLI works on non WP-CLI installed WordPress instance?
- How can I run a WP-CLI command as authenticated user?
- Export WP database for import using WP-CLI on Vagrant Box
- WP-CLI How to generate a list of posts with corresponding meta values
- WPCLI – update plugins, themes, and core, all in one row, instead 3 rows?
- Change old URLs after the domain change
- Hook filter to change wp_upload_dir() path in multisite
- Unable to write test cases for a WordPress plugin using PHPUnit and WP-CLI
- Install and load additional plugins when running unit tests
- WP CLI – show users whose ID is larger than given ID
- What’s a better workflow for database migration?
- WordPress API – count posts
- Can wp-cli display all users and their roles across all sites in a multisite instance?
- How Can I setup WP CLI on Windows development machine running AMPPS?
- DataBase connection problem with PHPUnit and WordPress
- How to run nested xargs commands?
- Configuring WP-CLI on Windows 10
- In a continuous integration environment how do you implement the database entries for plugins and themes
- PHPCS: Strings should have translatable content
- WP CLI theme install. Install a private repo?
- How much control do we have over CPT rewrite slugs? Can I create a “root” page for my CPT with out the page path, and then have paths for other pages?
- Can I have /blog and /foo and /bar all point to the same blog?
- Getting template_include to work when allow_url_include is off?
- wp-cli command throws error : “SSL routines:tls_process_server_certificate:certificate verify failed” while querying https website
- How to use WP-CLI / WC-CLI to bulk import 1000s of products (variable and simple)?
- Receiving 404 when uploading file larger than 10kb
- “open_basedir restriction” but project is within the allowed paths
- Change WordPress URL in sql file via Terminal
- Duplicated site isn’t recognized as a site
- Why doesn’t ‘wp’ command work in my WP-CLI installation?
- Generate Sub-Comments with WP-CLI [closed]
- How to move back a command in WP-CLI from wp shell?
- wp_clear_object_cache() is deprecated. What should I use instead?
- PHP if statement with German umlauts [closed]
- Removing all post tags except a given list
- Background image appears on localhost site but not online
- Is it possible to have a Theme with built-in physical page files?
- Path Issue – Getting “localhost” instead the IP
- POT file generated using WP-CLI does not retrieve strings from translation functions with FQN (Qualifier)
- DB option update with wp-cli
- I’m including a html file in my plugin, but it can’t find its css or js files
- upload_max_filesize error in php.ini
- WP-CLI plugin activate – ‘activate’ is not a registered subcommand of ‘plugin’
- Exporting CPT from dev site and import into live site?
- WP-CLI – How to install a plugin from a remote server
- How to fix “Not enough memory” on Windows 7 and PHP 7.2.0 (cli)
- Get not the full path
- Trigger function without awaiting response?
- Echo page path suffix only – not the title, path or permalink
- Register additional wp plugin directory
- Can WP-CLI modify database connection details in existing wp-config file?
- Weird WP -Cli Error Connection Refused
- is it possible to use wp cli to export custom post types