Last active
June 30, 2017 23:02
-
-
Save gravcat/3f50f91b103fe9f4e6576c465498b55d to your computer and use it in GitHub Desktop.
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
#requires –runasadministrator | |
try | |
{ | |
& choco -h | |
} | |
catch | |
{ | |
# If chocolatey help wasn't available, invoke expression to install from Chocolatey.org | |
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
} | |
# Install latest _stable_ python2 | |
& choco install python2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment