1
0
Fork 0
Scripts/check-pip-updates.sh

7 lines
254 B
Bash
Raw Permalink Normal View History

#!/bin/bash -e
# Check available updates for manually installed Python packages.
table="$(pip list --user --outdated)"
echo "$table"
list="$(echo "$table" | tail -n +3 | awk '{print $1}' | tr '\n' ' ')"
echo "Update the all with: $ pip install -U $list"