Skip to content

Instantly share code, notes, and snippets.

@stlehmann
Created April 25, 2018 08:11
Show Gist options
  • Save stlehmann/df410f05cdf29c370a3665cd4bcac0a1 to your computer and use it in GitHub Desktop.
Save stlehmann/df410f05cdf29c370a3665cd4bcac0a1 to your computer and use it in GitHub Desktop.
Autoupgrade script for pip
REM Powershell Script
pip list --outdated --format=freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
# Bash Script
pip list --format=legacy --outdated | cut -d' ' -f1 | xargs pip install --upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment