]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/pip-upgrade
.vimrc: Add pearofducks/ansible-vim plugin
[dotfiles.git] / bin / pip-upgrade
1 #!/bin/sh
2 # Upgrade all outdated `pip` packages
3 # https://stackoverflow.com/a/3452888
4 pip=$(type -P pip3)
5 $pip list --outdated --format=freeze | \
6 grep -v '^\-e' | \
7 cut -d = -f 1 | \
8 xargs -n1 sudo -H $pip install --upgrade