Updating Pip Packages checks and auto updates pip install -U $(pip list --outdated | awk 'NR>2 {print $1}') check for outdated modules pip list --outdated awk prints out the first columns of the pip oudated command using NR>2 to filter the first 2 rows.