Skip to content

Instantly share code, notes, and snippets.

@otravers otravers/versions.bat
Last active Dec 22, 2016

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner 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
You can’t perform that action at this time.