Last active
May 10, 2022 19:45
-
-
Save ctrombley/5f1563c4496f49960f02e53f59a3984e to your computer and use it in GitHub Desktop.
Dump environment info
This file contains hidden or 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 "\n======\nOS\n======\n" | |
echo "MacOS Version:" | |
echo "$(sw_vers | sed 's/^/ /')" | |
echo "XCode Command Line Tools Version: $(pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version)" | |
echo "Homebrew Version:" | |
echo "$(brew --version | sed 's/^/ /')" | |
echo "\n======\nPYTHON\n======\n" | |
echo "pyenv version: $(pyenv --version)" | |
echo "pyenv location: $(pyenv --version)" | |
echo "Current VIRTUAL_ENV value: $VIRTUAL_ENV" | |
echo "python version: $(python --version)" | |
echo "python location: $(which python)" | |
echo "pip version: $(pip --version)" | |
echo "pip location: $(which pip)" | |
echo "poetry version: $(poetry --version)" | |
echo "poetry location: $(which poetry)" | |
echo "\n======\nNODE\n======\n" | |
echo "nvm version: $(nvm --version)" | |
echo "Current NVM_DIR value: $NVM_DIR" | |
echo "node version: $(node --version)" | |
echo "node location: $(which node)" | |
echo "yarn version: $(yarn --version)" | |
echo "yarn location: $(which yarn)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment