Upgrade All Python PIP Packages

ProgrammingSeptember 30, 2014

When you have many python package in your project, its obviously lazy to when trying to update all package one by one, so i need to find a way going to update all package using pip, but unfortunately when i check PIP github issue, theres is an open and ongoing feature request for PIP is to add an upgrade-all command to PIP. and then i'm googling to search how to update all package using pip. Thanks Stackoverflow and google, i found the solution how to update all package using pip, heres the solution i used:

pip freeze --local | grep -v '^\-e'  | cut -d = -f 1 | xargs pip install -U


So next time you want to upgrade all your python package using pip, you can use this script

source :

Upgrade All Python PIP Packages - Anjar Febrianto