Installation

Download wpc.phar using wget or curl. For example:

curl -O https://downloads.wp-content.io/wpc-cli/latest/wpc.phar

To be able to type just wpc, instead of php wpc.phar, you need to make the file executable and move it to somewhere in your PATH. For example:

chmod +x wpc.phar
sudo mv wpc.phar /usr/local/bin/wpc

The CLI needs at least PHP 8.2 and zip extension installed to works.