默认说明假定您有root用户,并且打算通过将phar包放置在您的路径中来提供最方便的使用
备选方案1:
拆卸sudo,更换/usr/local/bin/wp 到/path/to/your/installation/wp, 而不是用wp command <parameters> 使用./wp command <parameters>
备选方案2:
拆下sude,更换/usr/local/bin/wp 到/any/other/path/wp 而不是用wp command <parameters> 使用/any/other/path/wp command <parameters>