Skip to content

Instantly share code, notes, and snippets.

@kerkenit
Created May 30, 2022 14:16
Show Gist options
  • Save kerkenit/f9b58cf3643478b5861e68c54df1ddfb to your computer and use it in GitHub Desktop.
Save kerkenit/f9b58cf3643478b5861e68c54df1ddfb to your computer and use it in GitHub Desktop.
Update all pip and pip3 packages
pip3 install --upgrade pip && pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U || pip install --upgrade pip && 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