I’ve been trying to get started with WP-CLI, but I can’t understand how it works. As I have understood it, Trellis comes with WP-CLI. But I don’t know how to do.
I’ve tried to SSH into Trellis and use wp-cli from there, but without success. If I write try to find out which version is installed I see that there is no version installed.
vagrant@demoshop:~$ which wp-cli vagrant@demoshop:~$
I’ve found some files inside of
trellis/roles/wp-cli. Shouldn’t this work out of the box after running vagrant up?