Skip to content

Instantly share code, notes, and snippets.

@navin-mohan
Last active April 18, 2017 16:03
Show Gist options
  • Save navin-mohan/19dd481601e9c0e0e39ec7e98574ca62 to your computer and use it in GitHub Desktop.
Save navin-mohan/19dd481601e9c0e0e39ec7e98574ca62 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -e ~/.nvm/nvm.sh ]; then
. ~/.nvm/nvm.sh
fi
if [ -e ~/.profile ]; then
. ~/.profile
fi
if [ -e ~/.bashrc ]; then
. ~/.bashrc
fi
echo "NVM_VERSION: $(nvm --version)"
echo "NPM_VERSION: $(npm --version)"
echo "NODE_VERSION: $(node --version)"
echo "PIP_VERSION: $(pip --version)"
echo "FLASK_VERSION: "$(python -c "import flask;print(flask.__version__)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment