1. Install Composer
Download and install the Composer
2. Verify Composer:
3. Verify PHP
php "c:/wp-cli/wp-cli.phar" %*
5. Set environment variable in advance system setting. Add the following path. Assumed you already have added the PHP & MySQL path, if not add those paths also.
6. Open CMD and verify the wp cli by entering this code