Created
July 11, 2016 07:13
-
-
Save onocom/664595797fcb1e90b25e77fb620ce2e9 to your computer and use it in GitHub Desktop.
CPIのレンタルサーバにWPCLIをインストールする PHP7版
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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-7.0 ~/bin/wp-cli.phar' > .cshrc | |
source .cshrc | |
wp --info | |
cd ~/html | |
wp core download --locale=ja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment