Please use Phive to install/upgrade WP-CLI `phive install wp` https://github.com/zionbuilder/zionbuilder-cli/blob/master/packages/zionbuilder-service/bin/wp-cli.phar Phive could be downloaded like this https://github.com/phar-io/phive#getting-phive or https://github.com/szepeviktor/debian-server-tools/blob/master/debian-setup/packages/_package-php-phive