Skip to content

Instantly share code, notes, and snippets.

@boseji
Created June 3, 2017 04:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boseji/e1afa71806f94ea30b70710ec320c8c2 to your computer and use it in GitHub Desktop.
Save boseji/e1afa71806f94ea30b70710ec320c8c2 to your computer and use it in GitHub Desktop.
PIP Python Package Update all
#!/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