DEV Community

Cover image for [Python] Checking and updating new versions of pip packages and requirements.txt update
YURII DE.
YURII DE.

Posted on

[Python] Checking and updating new versions of pip packages and requirements.txt update

Steps:

  1. Checking for new package versions:
    $ pip list --outdated

  2. Updating packages:
    $ pip install -U package

  3. Saving changes to requirements.txt:
    $ pip freeze > requirements.txt

Thank you. <3

Top comments (0)