Skip to content

Instantly share code, notes, and snippets.

@ctrombley
Last active May 10, 2022 19:45
Show Gist options
  • Select an option

  • Save ctrombley/5f1563c4496f49960f02e53f59a3984e to your computer and use it in GitHub Desktop.

Select an option

Save ctrombley/5f1563c4496f49960f02e53f59a3984e to your computer and use it in GitHub Desktop.

Revisions

  1. ctrombley revised this gist May 10, 2022. 1 changed file with 15 additions and 15 deletions.
    30 changes: 15 additions & 15 deletions environment_info.sh
    Original file line number Diff line number Diff line change
    @@ -5,19 +5,19 @@ echo "XCode Command Line Tools Version: $(pkgutil --pkg-info=com.apple.pkg.CLToo
    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 Version: $(which poetry)"
    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 "nvm Location: $(which nvm)"
    echo "node Version: $(node --version)"
    echo "node Location: $(which node)"
    echo "yarn Version: $(yarn --version)"
    echo "yarn Location: $(which yarn)"
    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)"
  2. ctrombley revised this gist May 10, 2022. 1 changed file with 16 additions and 4 deletions.
    20 changes: 16 additions & 4 deletions environment_info.sh
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,23 @@
    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 "VIRTUAL_ENV Value: $VIRTUAL_ENV"
    echo "python Location: $(which python)"
    echo "pip Location: $(which pip)"
    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 "XCode Command Line Tools Version: $(pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version)"
    echo "pip Location: $(which pip)"
    echo "poetry Version: $(poetry --version)"
    echo "poetry Version: $(which poetry)"
    echo "\n======\nNODE\n======\n"
    echo "nvm Version: $(nvm --version)"
    #echo "nvm Location: $(which nvm)"
    echo "node Version: $(node --version)"
    echo "node Location: $(which node)"
    echo "yarn Version: $(yarn --version)"
    echo "yarn Location: $(which yarn)"
  3. ctrombley created this gist May 10, 2022.
    11 changes: 11 additions & 0 deletions environment_info.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    echo "MacOS Version:"
    echo "$(sw_vers | sed 's/^/ /')"
    echo "Homebrew Version:"
    echo "$(brew --version | sed 's/^/ /')"
    echo "pyenv Version: $(pyenv --version)"
    echo "VIRTUAL_ENV Value: $VIRTUAL_ENV"
    echo "python Location: $(which python)"
    echo "pip Location: $(which pip)"
    echo "python Version: $(python --version)"
    echo "pip Version: $(pip --version)"
    echo "XCode Command Line Tools Version: $(pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version)"