How to update all pip python packages with one command

This post is over 3 years old, so please keep in mind that some of its content might not be relevant anymore.
sudo pip install -U `pip list -o|cut -d ' ' -f1|tr '\n' ' '`

NB: One liners are potentially destructive. Don’t run anything unless you fully understand it.

Leave a Reply

Your email address will not be published.