Skip to content

Instantly share code, notes, and snippets.

@danielfleischer
Created February 12, 2018 15:27
Show Gist options
  • Save danielfleischer/45ab2a4d7d90c1d7a2d4592dcba586d3 to your computer and use it in GitHub Desktop.
Save danielfleischer/45ab2a4d7d90c1d7a2d4592dcba586d3 to your computer and use it in GitHub Desktop.
pip upgrade script, interactive version (asks before each outdated package is upgraded)
#!/usr/bin/env bash
pip3 list --outdated | awk '{print $1}' | xargs -n1 -p pip3 install -U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment