Skip to content

Instantly share code, notes, and snippets.

@andypotanin
Last active December 20, 2015 12:09
Show Gist options
  • Save andypotanin/6128758 to your computer and use it in GitHub Desktop.
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.
# 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