Last active
December 20, 2015 12:09
-
-
Save andypotanin/6128758 to your computer and use it in GitHub Desktop.
Read gcutil documentation https://developers.google.com/compute/docs/gcutil/ for more details.
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
# Documentation: https://developers.google.com/compute/docs/gcutil/ | |
# Move into home directory | |
cd ~ | |
# Download gcutil-1.8.2.zip | |
curl https://google-compute-engine-tools.googlecode.com/files/gcutil-1.8.2.zip > gcutil-1.8.2.zip | |
# Unpack gcutil and remove original file | |
unzip gcutil-1.8.2.zip && unlink gcutil-1.8.2.zip | |
# Rename gcutil-1.8.2 to "gcutil" | |
mv gcutil-1.8.2 gcutil | |
# Add gcutil to .bash_profile | |
echo "export PATH=$PATH:$HOME/gcutil" >> ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment