Shell script to remotely install WP-CLI and WordPress with several options... Will need SSH access to remote server.
Install or Remove WP-CLI installation over SSH Optionally, install WordPress as well
wp-init [--host <host>][--local] <flag(s)>
--help, -h Show this usage message
--host, -s Host name, can be in the form of user@domain or an alias from ~/.ssh/config
--cli, -i Install WP-CLI
--remove-cli, -r Remove WP-CLI and cleanup
--core, -c Install WordPress after WP-CLI
--local, -l Install WP-CLI and/or WordPress locally
--debug, -d Debug script