diff --git a/cheat/cheatsheets/pip b/cheat/cheatsheets/pip index edc122c..b74c4c1 100644 --- a/cheat/cheatsheets/pip +++ b/cheat/cheatsheets/pip @@ -17,5 +17,8 @@ pip list --outdated # Upgrade all outdated packages, thanks to http://stackoverflow.com/a/3452888 pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U +# UPgrade all outdated packages (shorter command) +pip3 install -U $( pip3 list -o | cut -d" " -f1 ) + # Install specific version of a package pip install -I SomePackage1==1.1.0 'SomePackage2>=1.0.4'