Advertisement

Setup WP CLI (WordPress Command Line Interface) on Windows Operating System

Step 1 Create folder wp-cli in C drive. Step 2 Download wp-cli.phar from https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar Step 3 Move downloaded wp-cli.phar file in C:\wp-cli\ Step 4 Create wp.bat file in C:\wp-cli\ and write below code in it. Or Download file from below Gist Step 5 Open system environment and set C:\wp-cli as an environment path. Done! Open