Last active
February 20, 2016 03:26
-
-
Save nitrocode/89c6b7b1fe57931a90e3 to your computer and use it in GitHub Desktop.
Upgrade all Windows pip packages and choco packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| :: upgrade pip, setuptools, pip packages, and all choco packages | |
| :: upgrade pip | |
| pip install -U pip | |
| :: upgrade setuptools | |
| pip install setuptools --no-use-wheel --upgrade | |
| :: upgrade all pip packages | |
| pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U | |
| :: upgrade all choco packages | |
| choco upgrade all -y | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment