-m pip install --upgrade pip' command. code example
Example 1: pip install --upgrade
# That line of shell code updates library
pip install --upgrade <library_name>
Example 2: python -m pip install --upgrade pip
# That line of shell code updates pip