Please refer http://macappstore.org/google-cloud-sdk/ to install gcloud command line tool
Then copy the Google VM command to the shell and then execute