Skip to content

Instantly share code, notes, and snippets.

@pau
Created July 9, 2012 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pau/3077876 to your computer and use it in GitHub Desktop.
Save pau/3077876 to your computer and use it in GitHub Desktop.
Upgrade All PyPI Packages
# pip freeze to list packages
# grep -v '\-e' to exclude packages in edit mode
# cut -d= -f1 to get the package name only
# xargs pip install -U to upgrade all packages
$ pip freeze | grep -v '\-e' | cut -d= -f1 | xargs pip install -U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment