What you need:
- A hosting package with SSH support such as a Web hosting M, a Superfast WordPress or one of our Reseller hosting packages.
- An SSH program such as ‘iTerm2’, ‘Terminal’ or ‘ Putty’
Follow the steps below to start using wp-cli
- Connect to your hosting package via SSH
- Don’t know how to do this? Then follow this comprehensive article first.
- Run the following command to use wp-cli and retrieve a list of plugins
wp plugin list --path='httpdocs'