Skip to main content

Install wp-cli on cPanel?

Comments

9 comments

  • cPanelLauren
    HI @Nabbello They should be able to use wp-cli as long as the wp-cli package is installed on the server. It should be something like the following to install it: yum install wp-cli
    0
  • Nabbello
    @
    0
  • cPanelLauren
    Hi @Nabbello Can you try the following and let me know if it works for the user? /usr/local/cpanel/3rdparty/bin/wp
    0
  • Nabbello
    @cPanelLauren Yes it works as user
    0
  • Nabbello
    @cPanelLauren but if i type only wp dont work, why?
    0
  • Nabbello
    I solved by doing this, i hope this can help cd curl -O
    0
  • cPanelLauren
    You could have also created an alias but, I was unaware you were running CageFS - thanks for sharing what worked for you.
    0
  • Nabbello
    What is the solution to use on cagefs? i mean the first method
    0
  • cPanelLauren
    What you did should work for cagefs, without it you should have been able to just create an alias for wp -> the full path. That or a symlink in /usr/local/bin/
    0

Please sign in to leave a comment.