Google Cloud

Getting started with gsutil

$ wget https://storage.googleapis.com/pub/gsutil.tar.gz

$ tar xf gsutil.tar.gz

$ sudo mv gsutil /usr/lib/

$ echo 'export PATH=/usr/lib/gsutil:\$PATH' >> ~/.bashrc

$ echo "alias gsutil='PATH=/usr/bin:\$PATH gsutil'" >> ~/.bashrc

$ source ~/.bashrc

$ gsutil --version