Created
June 3, 2017 04:59
-
-
Save boseji/e1afa71806f94ea30b70710ec320c8c2 to your computer and use it in GitHub Desktop.
PIP Python Package Update all
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
#!/bin/bash | |
# Checks all the Packages | |
#pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U | |
# Checks only outdated packages | |
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment