This document describes installation and usage of the
a command-line tool that is used to manage your Google Compute Engine resources.
If you haven't already activated Google Compute Engine, follow the Getting Started Guide.
gcutil runs on UNIX-based operating systems such as Linux and Mac OS X. To use
gcutil, you must have Python 2.6.x or 2.7.x installed on your computer.
gcutil does not support Python 3.x. Python is installed by default on most
Linux distributions and Mac OS X.
Download gcutil-1.16.1.tar.gz file.
Extract the files.
Run the following command to extract the tar file. This unpacks a directory named
sudo tar xzvpf gcutil-1.16.1.tar.gz -C /usr/local/share
Create a symbolic link to the
sudo ln -sf /usr/local/share/gcutil-1.16.1/gcutil /usr/local/bin/gcutil
If you modified your system path, restart your shell before continuing so the changes can take effect. To see a list of available
$ gcutil help
For additional information on authenticating with the Cloud SDK, such as if you are working in a terminal session on another machine, see the following section.
To authenticate gcutil, follow the instructions
Then, test out the tool by running:
$ gcutil listinstances