Last active
December 22, 2016 13:41
-
-
Save otravers/6fe67e9e49a91624cb586d20dd423c3c to your computer and use it in GitHub Desktop.
Simple Windows Batch file to check dependencies for local web development stack
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
@ECHO OFF | |
echo 1. PHP interpreter | |
php -v | |
echo: | |
echo 2. Composer | |
call composer -V | |
echo: | |
echo 3. Psysh | |
call psysh -v | |
echo: | |
echo 4. WP CLI | |
call wp-cli cli version | |
echo: | |
echo 5. Node | |
call node -v | |
echo: | |
echo 6. NPM | |
call npm -v | |
echo: | |
echo 7. Bower | |
call bower -v | |
echo: | |
echo 8. Gulp | |
call gulp -v | |
echo: | |
echo 9. Ruby | |
call ruby -v | |
echo: | |
echo 10. Git | |
call git --version | |
echo: | |
echo 11. Docker | |
docker version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use "call" otherwise the batch won't complete:
npm/npm#2938