Skip to content

Instantly share code, notes, and snippets.

@SalemHarrache
Created August 16, 2012 11:04
Show Gist options
  • Save SalemHarrache/3369303 to your computer and use it in GitHub Desktop.
Save SalemHarrache/3369303 to your computer and use it in GitHub Desktop.
Pip management
# Output outdated packages
pip freeze | cut -d = -f 1 | xargs -n 1 pip search | grep -B2 'LATEST:'
# Upgrade all outdated packages
pip freeze | cut -d = -f 1 | xargs echo pip install -U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment