Last active
August 29, 2015 14:14
-
-
Save trackzero/b6063bc9e4ec42a9be19 to your computer and use it in GitHub Desktop.
PowerShell to install Python, boto, and AWSCLI.
This file contains 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
# PowerShell to install Python, Boto, and AWSCLI | |
# Check for latest Python version and update link in following line. | |
Invoke-WebRequest -Outfile $env:userprofile\python.msi https://www.python.org/ftp/python/2.7.9/python-2.7.9.amd64.msi | |
msiexec.exe /i $env:userprofile\python.msi /quiet | |
set PATH "%PATH%;C:\Python27;C:\Python27\Scripts" | |
setx PATH "%PATH%;C:\Python27;C:\Python27\Scripts" | |
Invoke-WebRequest -Outfile $env:userprofile\pip.py https://bootstrap.pypa.io/get-pip.py | |
sleep 30 | |
C:\Python27\python.exe $env:userprofile\pip.py | |
C:\Python27\Scripts\pip.exe install boto | |
C:\Python27\Scripts\pip.exe install awscli | |
del $env:userprofile\pip.py | |
del $env:userprofile\python.msi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment