Terminal interface WP-CLI for the management of WordPress websites is availabe on our shared hosting solutions out-of-the-box. ie. right after the connection you can start to use the commands starting on wp. Without the manual installation. The only thing you need is an active SSH access
$ cd sub
$ wp core download --path=dev/wp-cli
Creating directory '/home/sourcecode.sk/sub/dev/wp-cli/'.
Downloading WordPress 4.9.8 (en_US)...
Using cached file '/home/.wp-cli/cache/core/wordpress-4.9.8-en_US.tar.gz'...
Success: WordPress downloaded.
Using WP-CLI
The use of WP-CLI is not limited in any way except:
- Limited duration of SSH connection – without the premium console the SSH will last only 1 hour after activation.
- Commands regarding to databases – Our web and database servers are separate. Commands such as
wp db create
will not work.
Other WP-CLI options
On the official website of WordPress there WP-CLI handbook, containing starting recommendation as well as the list of all commands.