pip list --outdated
Package Version Latest Type ---------------------- ------- ------- ----- appdirs 1.4.3 1.4.4 wheel Cython 0.29.17 0.29.19 wheel Django 3.0.6 3.0.7 wheel maxminddb 1.5.3 1.5.4 sdist packaging 20.3 20.4 wheel setuptools 46.1.3 47.1.1 wheel setuptools-scm 3.5.0 4.1.2 wheel six 1.14.0 1.15.0 wheel social-auth-app-django 3.1.0 3.4.0 wheel Sphinx 3.0.3 3.0.4 wheel virtualenv 20.0.20 20.0.21 wheel
pip install -U `pip list --outdated | awk 'NR>2 {print $1}'`
In the awk command, NR>2 skips the first two lines and {print $1} selects the first word of each line.
Published: June 14, 2020
The information on this page is user generated content. The content does not claim to be complete or correct.
Everybody is invited to add or change the data. Just click on this link. No login or email is required. Thanks.