How to use WP-CLI?

Hello, need help with wp-cli commands.

I installed hestiacp, add user, enable SSH Access for the new user. Add command v-add-user-wp-cli for the user.

Login to ssh, and try command wp --info , but get answer -bash: wp: command not found

How i can use wp-cli commands?

It is located in /home/user/.wp-cli/wp if I am right

If you want it. Globally available install it manually in /usr/bin

1 Like

Yes, the new folder with .wp-cli exists, how i can use it?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.