Skip to content

Instantly share code, notes, and snippets.

@onocom
Last active July 11, 2016 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onocom/eed324f7f3cb07f79ccbce7314ece076 to your computer and use it in GitHub Desktop.
Save onocom/eed324f7f3cb07f79ccbce7314ece076 to your computer and use it in GitHub Desktop.
CPIのレンタルサーバにWPCLIをインストールする
# http://www.cpi.ad.jp/evangelist/maekawa/column01/001.html
cd ~
mkdir bin
cd bin/
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
cd ~
echo alias wp 'php-5.5.16 ~/bin/wp-cli.phar' > .cshrc
source .cshrc
wp --info
cd ~/html
wp core download --locale=ja
@onocom
Copy link
Author

onocom commented Jul 11, 2016

PHPのバージョンは適宜変更する。
echo alias wp 'php-5.5.16 ~/bin/wp-cli.phar' > .cshrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment