[ad_1]
Hi all, I hope this is the right thread for this: I want to connect to my server via ssh and I’m stuck where I want to move wp cli to the local folder (according to https://github.com/wp-cli/wp-cli) via
`chmod +x wp-cli.phar`
`sudo mv wp-cli.phar /usr/local/bin/wp`
Now the problem is that I can’t figure out my sudo password. I tried my user password for my mac, the ssh password, and the hosting password. I always thought Sudo stands for super user do, so my password I use to log into my computer should be fine?!
Thanks for any help 🙏
[ad_2]
this is not a wordpress question
this is a mac tech support question
It sounds like you have connected to your host via ssh. If you are on a shared host, you will not have access to the root user and your user will not be a part of sudoers. Contact your host it get it installed or pick a new host that includes WP cli by default https://make.wordpress.org/cli/handbook/references/hosting-companies/