Skip to content

Instantly share code, notes, and snippets.

@otravers
Last active December 22, 2016 13:41
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 otravers/6fe67e9e49a91624cb586d20dd423c3c to your computer and use it in GitHub Desktop.
Save otravers/6fe67e9e49a91624cb586d20dd423c3c to your computer and use it in GitHub Desktop.
Simple Windows Batch file to check dependencies for local web development stack
@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
@otravers
Copy link
Author

otravers commented Nov 24, 2016

You need to use "call" otherwise the batch won't complete:
npm/npm#2938

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