Last active
July 5, 2022 08:46
-
-
Save konstruktoid/545b1717d58d47366009f5e866abaa18 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
if command -v gem; then | |
if gem --version | grep -q '^3'; then | |
gem update | |
fi | |
fi | |
if command -v brew; then | |
brew update | |
brew upgrade | |
brew cleanup | |
brew cleanup --prune-prefix | |
fi | |
if command -v pip3; then | |
$(which python3) -m pip install --upgrade pip | |
$(which python3) -m pip freeze --local | grep -v '^-e' | cut -d = -f 1 | xargs -n1 $(which python3) -m pip install -U | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment