Skip to content

Instantly share code, notes, and snippets.

@thekensta
Last active December 2, 2015 21:20
Show Gist options
  • Save thekensta/62a8c4955c2bdb4e2c06 to your computer and use it in GitHub Desktop.
Save thekensta/62a8c4955c2bdb4e2c06 to your computer and use it in GitHub Desktop.
Update all outdated packages with pip
# Based on
# http://stackoverflow.com/questions/2720014/upgrading-all-packages-with-pip
# pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
pip3 list -o | cut -d ' ' -f 1 | xargs -n1 pip3 install -U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment